pub struct GreedyPauliSimp {
pub discount_rate: f64,
pub depth_weight: f64,
pub max_lookahead: f64,
pub max_tqe_candidates: f64,
pub seed: f64,
pub allow_zzphase: bool,
pub thread_timeout: f64,
pub only_reduce: bool,
pub trials: f64,
}Expand description
Greedy Pauli simplification configuration.
Fields§
§discount_rate: f64Cost discount parameter.
depth_weight: f64Depth optimisation weight.
max_lookahead: f64Maximum lookahead.
max_tqe_candidates: f64Maximum number of TQE candidates.
seed: f64Seed for randomness.
allow_zzphase: boolWhether ZZPhase gates may be emitted.
thread_timeout: f64Maximum runtime per thread.
only_reduce: boolWhether only reductions are allowed.
trials: f64Number of random trials.
Trait Implementations§
Source§impl Clone for GreedyPauliSimp
impl Clone for GreedyPauliSimp
Source§fn clone(&self) -> GreedyPauliSimp
fn clone(&self) -> GreedyPauliSimp
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 GreedyPauliSimp
impl Debug for GreedyPauliSimp
Source§impl<'de> Deserialize<'de> for GreedyPauliSimp
impl<'de> Deserialize<'de> for GreedyPauliSimp
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 GreedyPauliSimp
impl PartialEq for GreedyPauliSimp
Source§impl Serialize for GreedyPauliSimp
impl Serialize for GreedyPauliSimp
impl StructuralPartialEq for GreedyPauliSimp
Auto Trait Implementations§
impl Freeze for GreedyPauliSimp
impl RefUnwindSafe for GreedyPauliSimp
impl Send for GreedyPauliSimp
impl Sync for GreedyPauliSimp
impl Unpin for GreedyPauliSimp
impl UnwindSafe for GreedyPauliSimp
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