pub struct LogicalObservable {
pub id: i64,
pub measurement_keys: Vec<String>,
pub pauli_qubits: Vec<usize>,
pub pauli: String,
}Expand description
Logical observable declaration.
Observables can be defined from measurement keys, from a final Pauli frame projection, or from both.
Fields§
§id: i64§measurement_keys: Vec<String>§pauli_qubits: Vec<usize>§pauli: StringImplementations§
Trait Implementations§
Source§impl Clone for LogicalObservable
impl Clone for LogicalObservable
Source§impl Debug for LogicalObservable
impl Debug for LogicalObservable
Source§impl PartialEq for LogicalObservable
impl PartialEq for LogicalObservable
impl StructuralPartialEq for LogicalObservable
Auto Trait Implementations§
impl Freeze for LogicalObservable
impl RefUnwindSafe for LogicalObservable
impl Send for LogicalObservable
impl Sync for LogicalObservable
impl Unpin for LogicalObservable
impl UnsafeUnpin for LogicalObservable
impl UnwindSafe for LogicalObservable
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