pub struct DemGenerationOptions { /* private fields */ }Expand description
Controls circuit-to-DEM conversions that cannot preserve a disjoint noise channel exactly using independent DEM instructions.
The default forbids fallback approximation. A positive threshold opts into
Stim-compatible independent approximation of multi-component
NoiseModel::PauliChannel locations when every component probability is
at most the threshold. Stim’s exact one-qubit conversion is attempted first.
Implementations§
Source§impl DemGenerationOptions
impl DemGenerationOptions
Trait Implementations§
Source§impl Clone for DemGenerationOptions
impl Clone for DemGenerationOptions
impl Copy for DemGenerationOptions
Source§impl Debug for DemGenerationOptions
impl Debug for DemGenerationOptions
Source§impl Default for DemGenerationOptions
impl Default for DemGenerationOptions
Source§impl PartialEq for DemGenerationOptions
impl PartialEq for DemGenerationOptions
impl StructuralPartialEq for DemGenerationOptions
Auto Trait Implementations§
impl Freeze for DemGenerationOptions
impl RefUnwindSafe for DemGenerationOptions
impl Send for DemGenerationOptions
impl Sync for DemGenerationOptions
impl Unpin for DemGenerationOptions
impl UnsafeUnpin for DemGenerationOptions
impl UnwindSafe for DemGenerationOptions
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