[−][src]Struct qmc::sse::qmc_traits::diagonal::Hamiltonian
A hamiltonian for the graph.
Implementations
impl<'a, H, E> Hamiltonian<'a, H, E> where
H: Fn(&[usize], usize, &[bool], &[bool]) -> f64,
E: Fn(usize) -> (&'a [usize], bool),
[src]
H: Fn(&[usize], usize, &[bool], &[bool]) -> f64,
E: Fn(usize) -> (&'a [usize], bool),
pub fn new(hamiltonian: H, edge_fn: E, num_edges: usize) -> Self
[src]
Construct a new hamiltonian with a function, edge lookup function, and the number of bonds.
Trait Implementations
impl<'a, H: Debug, E: Debug> Debug for Hamiltonian<'a, H, E> where
H: Fn(&[usize], usize, &[bool], &[bool]) -> f64,
E: Fn(usize) -> (&'a [usize], bool),
[src]
H: Fn(&[usize], usize, &[bool], &[bool]) -> f64,
E: Fn(usize) -> (&'a [usize], bool),
Auto Trait Implementations
impl<'a, H, E> RefUnwindSafe for Hamiltonian<'a, H, E> where
E: RefUnwindSafe,
H: RefUnwindSafe,
E: RefUnwindSafe,
H: RefUnwindSafe,
impl<'a, H, E> Send for Hamiltonian<'a, H, E> where
E: Send,
H: Send,
E: Send,
H: Send,
impl<'a, H, E> Sync for Hamiltonian<'a, H, E> where
E: Sync,
H: Sync,
E: Sync,
H: Sync,
impl<'a, H, E> Unpin for Hamiltonian<'a, H, E> where
E: Unpin,
H: Unpin,
E: Unpin,
H: Unpin,
impl<'a, H, E> UnwindSafe for Hamiltonian<'a, H, E> where
E: UnwindSafe,
H: UnwindSafe,
E: UnwindSafe,
H: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,