pub struct PauliSynthesisConfig {
pub pauli_synth_strat: PauliSynthStrategy,
pub cx_config: CxConfig,
}Expand description
Shared configuration for Pauli synthesis style passes.
Fields§
§pauli_synth_strat: PauliSynthStrategyStrategy for synthesising Pauli gadgets.
cx_config: CxConfigPreferred CX configuration.
Trait Implementations§
Source§impl Clone for PauliSynthesisConfig
impl Clone for PauliSynthesisConfig
Source§fn clone(&self) -> PauliSynthesisConfig
fn clone(&self) -> PauliSynthesisConfig
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 moreSource§impl Debug for PauliSynthesisConfig
impl Debug for PauliSynthesisConfig
Source§impl<'de> Deserialize<'de> for PauliSynthesisConfig
impl<'de> Deserialize<'de> for PauliSynthesisConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PauliSynthesisConfig
impl PartialEq for PauliSynthesisConfig
Source§impl Serialize for PauliSynthesisConfig
impl Serialize for PauliSynthesisConfig
impl StructuralPartialEq for PauliSynthesisConfig
Auto Trait Implementations§
impl Freeze for PauliSynthesisConfig
impl RefUnwindSafe for PauliSynthesisConfig
impl Send for PauliSynthesisConfig
impl Sync for PauliSynthesisConfig
impl Unpin for PauliSynthesisConfig
impl UnwindSafe for PauliSynthesisConfig
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