|
| double | Fidelity (const QState &a, const QState &b) |
| | Compute fidelity between two QState objects of the same backend type.
|
| |
| double | Purity (const QState &s) |
| | Compute the purity of a quantum state.
|
| |
| bool | IsPure (const QState &s, double tol=1e-12) |
| | Check whether a quantum state is pure within a numerical tolerance.
|
| |
| double | VonNeumannEntropy (const QState &s) |
| | Compute the von Neumann entropy of a quantum state in bits.
|
| |
| double | TraceDistance (const QState &a, const QState &b) |
| | Compute the trace distance between two QState objects of the same backend type.
|
| |