pub struct OptimalAllocation {
pub code_distance: u32,
pub logical_qubits: u32,
pub decode_threads: u32,
pub expected_logical_error_rate: f64,
pub pareto_score: f64,
}Expand description
A candidate allocation on the Pareto frontier.
Fields§
§code_distance: u32§logical_qubits: u32§decode_threads: u32§expected_logical_error_rate: f64§pareto_score: f64Trait Implementations§
Source§impl Clone for OptimalAllocation
impl Clone for OptimalAllocation
Source§fn clone(&self) -> OptimalAllocation
fn clone(&self) -> OptimalAllocation
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 OptimalAllocation
impl RefUnwindSafe for OptimalAllocation
impl Send for OptimalAllocation
impl Sync for OptimalAllocation
impl Unpin for OptimalAllocation
impl UnsafeUnpin for OptimalAllocation
impl UnwindSafe for OptimalAllocation
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