pub struct HardwareParallelizationEngine { /* private fields */ }Expand description
Main hardware-aware parallelization engine
Implementations§
Source§impl HardwareParallelizationEngine
impl HardwareParallelizationEngine
Sourcepub fn new(
config: ParallelizationConfig,
device_manager: Arc<RwLock<IntegratedQuantumDeviceManager>>,
calibration_manager: Arc<RwLock<CalibrationManager>>,
router: Arc<RwLock<AdvancedQubitRouter>>,
) -> Self
pub fn new( config: ParallelizationConfig, device_manager: Arc<RwLock<IntegratedQuantumDeviceManager>>, calibration_manager: Arc<RwLock<CalibrationManager>>, router: Arc<RwLock<AdvancedQubitRouter>>, ) -> Self
Create a new hardware parallelization engine
Sourcepub async fn submit_parallel_circuit<const N: usize>(
&self,
circuit: Circuit<N>,
target_backend: HardwareBackend,
priority: TaskPriority,
constraints: ExecutionConstraints,
) -> DeviceResult<String>
pub async fn submit_parallel_circuit<const N: usize>( &self, circuit: Circuit<N>, target_backend: HardwareBackend, priority: TaskPriority, constraints: ExecutionConstraints, ) -> DeviceResult<String>
Submit a circuit for parallel execution
Sourcepub async fn submit_parallel_gates(
&self,
gate_operations: Vec<ParallelGateOperation>,
target_qubits: Vec<QubitId>,
priority: TaskPriority,
) -> DeviceResult<String>
pub async fn submit_parallel_gates( &self, gate_operations: Vec<ParallelGateOperation>, target_qubits: Vec<QubitId>, priority: TaskPriority, ) -> DeviceResult<String>
Submit gates for parallel execution
Sourcepub async fn execute_parallel_circuits(
&self,
) -> DeviceResult<Vec<ParallelExecutionResult>>
pub async fn execute_parallel_circuits( &self, ) -> DeviceResult<Vec<ParallelExecutionResult>>
Execute parallel circuits using the configured strategy
Sourcepub async fn get_performance_metrics(&self) -> DeviceResult<PerformanceMetrics>
pub async fn get_performance_metrics(&self) -> DeviceResult<PerformanceMetrics>
Get current performance metrics
Sourcepub async fn get_optimization_suggestions(
&self,
) -> DeviceResult<Vec<OptimizationSuggestion>>
pub async fn get_optimization_suggestions( &self, ) -> DeviceResult<Vec<OptimizationSuggestion>>
Get optimization suggestions
Sourcepub async fn apply_load_balancing(&self) -> DeviceResult<LoadBalancingResult>
pub async fn apply_load_balancing(&self) -> DeviceResult<LoadBalancingResult>
Apply dynamic load balancing
Auto Trait Implementations§
impl Freeze for HardwareParallelizationEngine
impl !RefUnwindSafe for HardwareParallelizationEngine
impl Send for HardwareParallelizationEngine
impl Sync for HardwareParallelizationEngine
impl Unpin for HardwareParallelizationEngine
impl !UnwindSafe for HardwareParallelizationEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.