qit.state

Quantum states.

In QIT, quantum states are represented by the State class, defined in this module.

Functions

equal_dims(s, t)

True if states s and t have equal dimensions.

fidelity(s, t)

Wrapper for State.fidelity.

index_muls(dim)

Index multipliers for C-ordered data.

trace_dist(s, t)

Wrapper for State.trace_dist.

Classes

State(s, int, , State], dim)

Class for quantum states.