pub struct InstantiationOptions<'a> { /* private fields */ }Expand description
Options applied after a node’s instances have been translated and, when needed, merged.
Implementations§
Source§impl<'a> InstantiationOptions<'a>
impl<'a> InstantiationOptions<'a>
Sourcepub const fn noisy(noise: &'a NoiseModel) -> Self
pub const fn noisy(noise: &'a NoiseModel) -> Self
Materialize noise on the merged circuit.
Sourcepub const fn with_boolean_limits(self, limits: BooleanLimits) -> Self
pub const fn with_boolean_limits(self, limits: BooleanLimits) -> Self
Bound cumulative validation work and live predicate decision nodes.
Sourcepub const fn boolean_limits(self) -> BooleanLimits
pub const fn boolean_limits(self) -> BooleanLimits
Configured Boolean-analysis limits.
Trait Implementations§
Source§impl<'a> Clone for InstantiationOptions<'a>
impl<'a> Clone for InstantiationOptions<'a>
Source§fn clone(&self) -> InstantiationOptions<'a>
fn clone(&self) -> InstantiationOptions<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for InstantiationOptions<'a>
Source§impl<'a> Debug for InstantiationOptions<'a>
impl<'a> Debug for InstantiationOptions<'a>
Source§impl<'a> Default for InstantiationOptions<'a>
impl<'a> Default for InstantiationOptions<'a>
Source§fn default() -> InstantiationOptions<'a>
fn default() -> InstantiationOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for InstantiationOptions<'a>
impl<'a> RefUnwindSafe for InstantiationOptions<'a>
impl<'a> Send for InstantiationOptions<'a>
impl<'a> Sync for InstantiationOptions<'a>
impl<'a> Unpin for InstantiationOptions<'a>
impl<'a> UnsafeUnpin for InstantiationOptions<'a>
impl<'a> UnwindSafe for InstantiationOptions<'a>
Blanket Implementations§
§impl<T, BorrowedSelf> BitwiseMutViaBorrow<BorrowedSelf> for T
impl<T, BorrowedSelf> BitwiseMutViaBorrow<BorrowedSelf> for T
fn assign_index(&mut self, index: usize, to: bool)
fn negate_index(&mut self, index: usize)
fn clear_bits(&mut self)
fn assign_random(
&mut self,
bit_count: usize,
random_number_generator: &mut impl RngExt,
)where
BorrowedSelf: BitLength,
§impl<Bits, Other, BorrowedSelf, BorrowedOther> BitwisePairMutViaBorrow<Other, BorrowedSelf, BorrowedOther> for Bits
impl<Bits, Other, BorrowedSelf, BorrowedOther> BitwisePairMutViaBorrow<Other, BorrowedSelf, BorrowedOther> for Bits
fn assign(&mut self, other: &Other)
fn bitxor_assign(&mut self, other: &Other)
fn bitand_assign(&mut self, other: &Other)
fn bitor_assign(&mut self, other: &Other)
§impl<T, Other, BorrowedSelf, BorrowedOther> BitwisePairViaBorrow<Other, BorrowedSelf, BorrowedOther> for T
impl<T, Other, BorrowedSelf, BorrowedOther> BitwisePairViaBorrow<Other, BorrowedSelf, BorrowedOther> for T
§impl<T, BorrowedSelf> BitwiseViaBorrow<BorrowedSelf> for T
impl<T, BorrowedSelf> BitwiseViaBorrow<BorrowedSelf> for T
fn index(&self, index: usize) -> bool
fn weight(&self) -> usize
fn parity(&self) -> bool
fn is_zero(&self) -> bool
fn is_unit(&self, index: usize) -> bool
fn support<'a>(&'a self) -> impl SortedIteratorwhere
BorrowedSelf: 'a,
fn max_support(&self) -> Option<usize>
fn min_support(&self) -> Option<usize>
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