pub struct QuantumDebugProfiling {
pub suite_id: u64,
pub quantum_debugger: QuantumDebugger,
pub performance_profiler: QuantumPerformanceProfiler,
pub circuit_analyzer: QuantumCircuitAnalyzer,
pub state_inspector: QuantumStateInspector,
pub error_tracker: QuantumErrorTracker,
pub resource_monitor: QuantumResourceMonitor,
pub execution_tracer: QuantumExecutionTracer,
pub optimization_advisor: QuantumOptimizationAdvisor,
}
Expand description
Quantum debugging and profiling suite
Fields§
§suite_id: u64
§quantum_debugger: QuantumDebugger
§performance_profiler: QuantumPerformanceProfiler
§circuit_analyzer: QuantumCircuitAnalyzer
§state_inspector: QuantumStateInspector
§error_tracker: QuantumErrorTracker
§resource_monitor: QuantumResourceMonitor
§execution_tracer: QuantumExecutionTracer
§optimization_advisor: QuantumOptimizationAdvisor
Implementations§
Source§impl QuantumDebugProfiling
Implementation of the main debugging and profiling suite
impl QuantumDebugProfiling
Implementation of the main debugging and profiling suite
Sourcepub fn start_debugging_session(
&mut self,
target_circuit: String,
debugging_mode: DebuggingMode,
) -> Result<u64, QuantRS2Error>
pub fn start_debugging_session( &mut self, target_circuit: String, debugging_mode: DebuggingMode, ) -> Result<u64, QuantRS2Error>
Start comprehensive debugging session
Sourcepub fn profile_circuit_execution(
&mut self,
circuit: &dyn QuantumCircuit,
profiling_mode: ProfilingMode,
) -> Result<ProfilingReport, QuantRS2Error>
pub fn profile_circuit_execution( &mut self, circuit: &dyn QuantumCircuit, profiling_mode: ProfilingMode, ) -> Result<ProfilingReport, QuantRS2Error>
Execute quantum circuit with comprehensive profiling
Sourcepub fn analyze_quantum_circuit(
&mut self,
circuit: &dyn QuantumCircuit,
) -> Result<CircuitAnalysisReport, QuantRS2Error>
pub fn analyze_quantum_circuit( &mut self, circuit: &dyn QuantumCircuit, ) -> Result<CircuitAnalysisReport, QuantRS2Error>
Perform comprehensive circuit analysis
Sourcepub fn inspect_quantum_state(
&mut self,
state: &Array1<Complex64>,
inspection_mode: InspectionMode,
) -> Result<StateInspectionReport, QuantRS2Error>
pub fn inspect_quantum_state( &mut self, state: &Array1<Complex64>, inspection_mode: InspectionMode, ) -> Result<StateInspectionReport, QuantRS2Error>
Execute quantum state inspection and analysis
Sourcepub fn generate_comprehensive_report(&self) -> QuantumDebugProfilingReport
pub fn generate_comprehensive_report(&self) -> QuantumDebugProfilingReport
Generate comprehensive debugging and profiling report
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QuantumDebugProfiling
impl RefUnwindSafe for QuantumDebugProfiling
impl Send for QuantumDebugProfiling
impl Sync for QuantumDebugProfiling
impl Unpin for QuantumDebugProfiling
impl UnwindSafe for QuantumDebugProfiling
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.