pub struct UniversalQuantumFramework {
pub framework_id: u64,
pub hardware_registry: QuantumHardwareRegistry,
pub universal_compiler: UniversalQuantumCompiler,
pub cross_platform_optimizer: CrossPlatformOptimizer,
pub adaptive_runtime: AdaptiveQuantumRuntime,
pub portability_engine: QuantumPortabilityEngine,
pub calibration_manager: UniversalCalibrationManager,
pub error_mitigation: UniversalErrorMitigation,
pub performance_analyzer: UniversalPerformanceAnalyzer,
pub compatibility_layer: QuantumCompatibilityLayer,
}
Expand description
Universal Quantum Computer Support Framework
Fields§
§framework_id: u64
§hardware_registry: QuantumHardwareRegistry
§universal_compiler: UniversalQuantumCompiler
§cross_platform_optimizer: CrossPlatformOptimizer
§adaptive_runtime: AdaptiveQuantumRuntime
§portability_engine: QuantumPortabilityEngine
§calibration_manager: UniversalCalibrationManager
§error_mitigation: UniversalErrorMitigation
§performance_analyzer: UniversalPerformanceAnalyzer
§compatibility_layer: QuantumCompatibilityLayer
Implementations§
Source§impl UniversalQuantumFramework
Implementation of the Universal Quantum Framework
impl UniversalQuantumFramework
Implementation of the Universal Quantum Framework
Sourcepub fn register_quantum_architecture(
&mut self,
architecture_info: ArchitectureInfo,
provider_info: HardwareProvider,
) -> Result<ArchitectureRegistrationResult, QuantRS2Error>
pub fn register_quantum_architecture( &mut self, architecture_info: ArchitectureInfo, provider_info: HardwareProvider, ) -> Result<ArchitectureRegistrationResult, QuantRS2Error>
Register new quantum hardware architecture
Sourcepub fn compile_universal_circuit(
&mut self,
circuit: UniversalQuantumCircuit,
target_architectures: Vec<ArchitectureType>,
optimization_level: OptimizationLevel,
) -> Result<UniversalCompilationResult, QuantRS2Error>
pub fn compile_universal_circuit( &mut self, circuit: UniversalQuantumCircuit, target_architectures: Vec<ArchitectureType>, optimization_level: OptimizationLevel, ) -> Result<UniversalCompilationResult, QuantRS2Error>
Compile quantum circuit for universal execution
Sourcepub fn execute_adaptive_quantum_circuit(
&mut self,
compiled_circuit: UniversalCompiledCircuit,
execution_preferences: ExecutionPreferences,
) -> Result<AdaptiveExecutionResult, QuantRS2Error>
pub fn execute_adaptive_quantum_circuit( &mut self, compiled_circuit: UniversalCompiledCircuit, execution_preferences: ExecutionPreferences, ) -> Result<AdaptiveExecutionResult, QuantRS2Error>
Execute quantum circuit adaptively across platforms
Sourcepub fn demonstrate_universal_framework_advantages(
&mut self,
) -> UniversalFrameworkAdvantageReport
pub fn demonstrate_universal_framework_advantages( &mut self, ) -> UniversalFrameworkAdvantageReport
Demonstrate universal framework advantages
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UniversalQuantumFramework
impl RefUnwindSafe for UniversalQuantumFramework
impl Send for UniversalQuantumFramework
impl Sync for UniversalQuantumFramework
impl Unpin for UniversalQuantumFramework
impl UnwindSafe for UniversalQuantumFramework
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> 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<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.