Struct qmc::sse::qmc_ising::QmcIsingGraph[][src]

pub struct QmcIsingGraph<R: Rng, M: IsingManager> { /* fields omitted */ }
Expand description

A container to run QMC simulations.

Implementations

Make a new QMC graph with an rng instance and a function to construct the op manager from the number of variables and number of interactions / bonds.

Make a new QMC graph with an rng instance.

Make a new QMC graph with an rng instance.

Make the hamiltonian struct.

Evaluate the hamiltonian using the HamInfo for the graph.

Take a single diagonal step.

Take a single cluster step and return the number of cluster found.

Perform a single rvb step and return the number of successes and attempts.

Enable or disable automatic rvb steps. Errors if all js not equal magnitude.

Enable heatbath diagonal updates.

Print debug output.

Get a mutable reference to the state at p=0 (can break integrity)

Clone the state at p=0.

Convert the state to a vector.

Get the number of variables in the graph.

Get the edges on the graph

Get the transverse field on the system.

Get the longitudinal field on the system.

Get the cutoff used for qmc calculations (pmax).

Set the cutoff.

Get the number of ops in graph.

Get a reference to the op manager.

Get a mutable reference to the op manager.

Get internal energy offset.

Check if two instances can safely swap managers and initial states

Swap managers and initial states

Average rvb success rate.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Convert into QMC.

The type of the debuggable manager.

The manager which can be debugged.

Count the number of diagonal and offdiagonal ops.

Count the number of constant ops.

Perform a single step of qmc.

Get a reference to the state.

Get the current number of operators in the graph

Get the average energy given the average number of ops and beta.

Get the number of a given bond

Fold through imaginary time states.

Take t qmc timesteps at beta.

Take t qmc timesteps at beta and sample states.

Take t qmc timesteps at beta and sample states, apply f to each.

Take t qmc timesteps at beta and sample states, apply f to each and the zipped iterator.

Take t qmc timesteps at beta and sample states, fold across states and output results.

Take t qmc timesteps at beta and sample states, apply f to each and the zipped iterator.

Take t qmc timesteps at beta and sample states, fold across states and output results.

Check integrity.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.