mrmustard.lab_dev.states

The classes representing states in quantum circuits.

Classes

Coherent(modes[, x, y, x_trainable, ...])

The N-mode coherent state.

DM([modes, representation, name])

Base class for density matrices.

DisplacedSqueezed(modes[, x, y, r, phi, ...])

The N-mode displaced squeezed vacuum state.

Ket([modes, representation, name])

Base class for all Hilbert space vectors.

Number(modes, n[, cutoffs])

The N-mode number state.

SqueezedVacuum(modes[, r, phi, r_trainable, ...])

The N-mode squeezed vacuum state.

State([representation, modes_out_bra, ...])

Base class for all states.

Thermal(modes[, nbar, nbar_trainable, ...])

The N-mode thermal state.

TwoModeSqueezedVacuum(modes[, r, phi, ...])

The two-mode squeezed vacuum state.

Vacuum(modes)

The N-mode vacuum state.

Class Inheritance Diagram

Inheritance diagram of mrmustard.lab_dev.states.states.Coherent, mrmustard.lab_dev.states.base.DM, mrmustard.lab_dev.states.states.DisplacedSqueezed, mrmustard.lab_dev.states.base.Ket, mrmustard.lab_dev.states.states.Number, mrmustard.lab_dev.states.states.SqueezedVacuum, mrmustard.lab_dev.states.base.State, mrmustard.lab_dev.states.states.Thermal, mrmustard.lab_dev.states.states.TwoModeSqueezedVacuum, mrmustard.lab_dev.states.states.Vacuum