pub struct ResourceEstimate {Show 14 fields
pub logical_qubits: usize,
pub physical_qubits: usize,
pub total_gates: usize,
pub gate_breakdown: HashMap<String, usize>,
pub circuit_depth: usize,
pub execution_time: f64,
pub time_breakdown: HashMap<String, f64>,
pub error_budget: ErrorBudget,
pub overhead_factor: f64,
pub magic_states: usize,
pub distillation_overhead: f64,
pub spatial_overhead: f64,
pub temporal_overhead: f64,
pub detailed_analysis: Option<DetailedAnalysis>,
}Expand description
Complete resource estimation result
Fields§
§logical_qubits: usizeNumber of logical qubits required
physical_qubits: usizeNumber of physical qubits required
total_gates: usizeTotal number of gates
gate_breakdown: HashMap<String, usize>Breakdown of gates by type
circuit_depth: usizeCircuit depth
execution_time: f64Total execution time (seconds)
time_breakdown: HashMap<String, f64>Time breakdown by operation type
error_budget: ErrorBudgetError budget allocation
overhead_factor: f64Physical to logical qubit overhead factor
magic_states: usizeNumber of magic states required
distillation_overhead: f64Magic state distillation overhead
spatial_overhead: f64Spatial overhead factor
temporal_overhead: f64Temporal overhead factor
detailed_analysis: Option<DetailedAnalysis>Detailed analysis (optional)
Trait Implementations§
Source§impl Clone for ResourceEstimate
impl Clone for ResourceEstimate
Source§fn clone(&self) -> ResourceEstimate
fn clone(&self) -> ResourceEstimate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResourceEstimate
impl RefUnwindSafe for ResourceEstimate
impl Send for ResourceEstimate
impl Sync for ResourceEstimate
impl Unpin for ResourceEstimate
impl UnwindSafe for ResourceEstimate
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.