pub struct ExpValue {
pub hamiltonian: PauliHamiltonian,
pub result: Option<f64>,
}
Expand description
Represents the result of an expected value calculation.
Fields§
§hamiltonian: PauliHamiltonian
Hamiltonian used for he expected value calculation.
result: Option<f64>
Expected value.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ExpValue
impl Send for ExpValue
impl Sync for ExpValue
impl Unpin for ExpValue
impl UnwindSafe for ExpValue
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