pub struct SamplerObservable {
pub id: i64,
pub measurement_ids: Vec<usize>,
pub pauli_qubits: Vec<usize>,
pub pauli: String,
}Expand description
Integer-indexed logical observable compiled against a sampler program.
Fields§
§id: i64§measurement_ids: Vec<usize>§pauli_qubits: Vec<usize>§pauli: StringTrait Implementations§
Source§impl Clone for SamplerObservable
impl Clone for SamplerObservable
Source§impl Debug for SamplerObservable
impl Debug for SamplerObservable
Source§impl PartialEq for SamplerObservable
impl PartialEq for SamplerObservable
impl StructuralPartialEq for SamplerObservable
Auto Trait Implementations§
impl Freeze for SamplerObservable
impl RefUnwindSafe for SamplerObservable
impl Send for SamplerObservable
impl Sync for SamplerObservable
impl Unpin for SamplerObservable
impl UnsafeUnpin for SamplerObservable
impl UnwindSafe for SamplerObservable
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