Trait qmc::sse::qmc_traits::op_container::OpContainer[][src]

pub trait OpContainer {
    type Op: Op;
    fn get_cutoff(&self) -> usize;
fn set_cutoff(&mut self, cutoff: usize);
fn get_n(&self) -> usize;
fn get_nvars(&self) -> usize;
fn get_pth(&self, p: usize) -> Option<&Self::Op>;
fn get_count(&self, bond: usize) -> usize;
fn itime_fold<F, T>(&self, state: &mut [bool], fold_fn: F, init: T) -> T
    where
        F: Fn(T, &[bool]) -> T
; fn verify(&self, state: &[bool]) -> bool { ... } }
Expand description

Contain and manage ops.

Associated Types

The op object to manage.

Required methods

Get the cutoff for this container.

Set the cutoff for this container.

Get the number of non-identity ops.

Get the number of managed variables.

Get the pth op, None is identity.

Gets the count of bond ops in the graph.

Iterate through the imaginary time states of the opcontainer.

Provided methods

Verify the integrity of the OpContainer.

Implementors