pub struct ShotResult {
pub counts: HashMap<Vec<bool>, usize>,
pub metrics: SimulationMetrics,
}Expand description
Result of a multi-shot simulation (histogram of outcomes).
Fields§
§counts: HashMap<Vec<bool>, usize>§metrics: SimulationMetricsAuto Trait Implementations§
impl Freeze for ShotResult
impl RefUnwindSafe for ShotResult
impl Send for ShotResult
impl Sync for ShotResult
impl Unpin for ShotResult
impl UnsafeUnpin for ShotResult
impl UnwindSafe for ShotResult
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