State
Base class: Object
Base class for all quantum state representations.
Derived Types
- BasisState
- Fbit
- HeterogenousQdit
- HomogenousQdit
- Qbit
- StateVector
- StateVector<as_complex,as_dense>
- StateVector<as_real,as_dense>
Symbols
| Name | Description |
|---|---|
!= | 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
| Name | Description |
|---|---|
| conjugate | Computes the complex conjugate of the quantum state. |
| dimension | Returns the dimension of the basis state at the given site. |
| dot | Computes the inner product between two quantum states. |
| info | Returns the StateInfo of the current state. |
| norm | Computes the norm of the quantum state. |
| size | Returns the total number of coefficients needed to represent the state. |
| squared_norm | Computes the squared norm of the quantum state. |