Trait qmc::sse::qmc_traits::op_container::OpContainer [−][src]
Contain and manage ops.
Associated Types
Loading content...Required methods
fn get_cutoff(&self) -> usize
[src]
Get the cutoff for this container.
fn set_cutoff(&mut self, cutoff: usize)
[src]
Set the cutoff for this container.
fn get_n(&self) -> usize
[src]
Get the number of non-identity ops.
fn get_nvars(&self) -> usize
[src]
Get the number of managed variables.
fn get_pth(&self, p: usize) -> Option<&Self::Op>
[src]
Get the pth op, None is identity.
fn get_count(&self, bond: usize) -> usize
[src]
Gets the count of bond
ops in the graph.
fn itime_fold<F, T>(&self, state: &mut [bool], fold_fn: F, init: T) -> T where
F: Fn(T, &[bool]) -> T,
[src]
F: Fn(T, &[bool]) -> T,
Iterate through the imaginary time states of the opcontainer.
Provided methods
Loading content...Implementors
impl<O: Op + Clone> OpContainer for FastOpsTemplate<O>
[src]
type Op = O
fn get_cutoff(&self) -> usize
[src]
fn set_cutoff(&mut self, cutoff: usize)
[src]
fn get_n(&self) -> usize
[src]
fn get_nvars(&self) -> usize
[src]
fn get_pth(&self, p: usize) -> Option<&Self::Op>
[src]
fn get_count(&self, bond: usize) -> usize
[src]
fn itime_fold<F, T>(&self, state: &mut [bool], fold_fn: F, init: T) -> T where
F: Fn(T, &[bool]) -> T,
[src]
F: Fn(T, &[bool]) -> T,