# Module lattice_qcd_rs::simulation::state

source · ## Expand description

Module containing the simulation State.

The trait `LatticeState`

is the most basic state with just the link matrices.
The default implementation is `LatticeStateDefault`

.
More over a more advance state with the color electrical field is given by
the trait `LatticeStateWithEField`

with the default implementation
`LatticeStateEFSyncDefault`

. Thw word “Sync” appears. It means that the simulation
for the equation of movement are done at the same time for both the link matrices and
the electric field. It is given by te trait `SimulationStateSynchronous`

. It can also
be done using the leapfrog method with the trait `SimulationStateLeapFrog`

and the wrapper `SimulationStateLeap`

.

See item documentation for more details.

## Structs

- Represent a simulation state at a set time.
- wrapper to implement
`LatticeStateWithEField`

from a`LatticeState`

using the default implementation of conjugate momenta. - wrapper for a simulation state using leap frog (
`SimulationStateLeap`

) using a synchronous type (`SimulationStateSynchronous`

).

## Traits

- Trait to represent a pure gauge lattice state of dimension
`D`

. - Trait for a way to create a
`LatticeState`

from some parameters. - Represent a lattice state where the conjugate momenta of the link matrices are included.
- Trait to create a simulation state.
`LatticeStateWithEField`

who represent link matrices at time T and its conjugate momenta at time T + 1/2.`LatticeStateWithEField`

who represent link matrices at the same time position as its conjugate momenta`e_field`

.

## Type Definitions

- Default leap frog simulation state