pub struct SimConfig {
pub seed: Option<u64>,
pub noise: Option<NoiseModel>,
pub shots: Option<u32>,
}Expand description
Configuration for a simulation run.
Fields§
§seed: Option<u64>Deterministic seed. None uses OS entropy.
noise: Option<NoiseModel>Optional noise model applied after every gate.
shots: Option<u32>Number of repeated shots (None = single run returning state).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimConfig
impl RefUnwindSafe for SimConfig
impl Send for SimConfig
impl Sync for SimConfig
impl Unpin for SimConfig
impl UnsafeUnpin for SimConfig
impl UnwindSafe for SimConfig
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