Skip to main content

State

Base class: Object

Base class for all quantum state representations.

Derived Types

Symbols

NameDescription
!=Checks inequality between two states.
*Multiplies a quantum state by a constant coefficient.
*=Multiplies the state by a constant coefficient.
-Subtracts two state vectors.
/Divides a quantum state by a constant coefficient.
/=Divides the state by a constant coefficient.
==Checks equality between two states.

Members

NameDescription
conjugateComputes the complex conjugate of the quantum state.
dimensionReturns the dimension of the basis state at the given site.
dotComputes the inner product between two quantum states.
infoReturns the StateInfo of the current state.
normComputes the norm of the quantum state.
sizeReturns the total number of coefficients needed to represent the state.
squared_normComputes the squared norm of the quantum state.