pub struct QuasiProbabilityRepresentation {
pub operations: Vec<String>,
pub coefficients: Vec<f64>,
}Expand description
Quasi-probability representation for a noisy gate.
Fields§
§operations: Vec<String>Basis operations
coefficients: Vec<f64>Quasi-probabilities (can be negative)
Implementations§
Trait Implementations§
Source§impl Clone for QuasiProbabilityRepresentation
impl Clone for QuasiProbabilityRepresentation
Source§fn clone(&self) -> QuasiProbabilityRepresentation
fn clone(&self) -> QuasiProbabilityRepresentation
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 moreAuto Trait Implementations§
impl Freeze for QuasiProbabilityRepresentation
impl RefUnwindSafe for QuasiProbabilityRepresentation
impl Send for QuasiProbabilityRepresentation
impl Sync for QuasiProbabilityRepresentation
impl Unpin for QuasiProbabilityRepresentation
impl UnwindSafe for QuasiProbabilityRepresentation
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