Expand description
Observables, reduced states, entanglement, and ensemble analysis.
Structs§
- Diagonal
Ensemble - Diagonal
Ensemble Column - Noncommuting
Group - One disjoint set of binary modes sharing an exchange phase.
- Subspace
- Gauge-independent finite-dimensional subspace.
Enums§
Functions§
- analyze_
diagonal_ ensemble - Analyze one or more diagonal probability distributions in a shared eigensystem. Optional observable statistics are evaluated matrix-free in that eigensystem, so stored and matrix-free operators share one path.
- apply_
fermionic_ subsystem_ phases - Apply fermionic subsystem-ordering phases to a packed pure state.
- apply_
fermionic_ subsystem_ phases_ density - Apply the same fermionic mode permutation to both density-matrix axes.
- apply_
noncommuting_ subsystem_ exchange_ phases - Apply arbitrary selected exchange phases to a pure state.
- apply_
noncommuting_ subsystem_ exchange_ phases_ density - Apply arbitrary selected exchange phases to both density-matrix axes.
- apply_
noncommuting_ subsystem_ phases - Apply selected noncommuting-group exchange phases to a pure state.
- apply_
noncommuting_ subsystem_ phases_ density - Apply selected noncommuting-group exchange phases to both density axes.
- array_
to_ ints - Convert most-significant-site-first binary rows to integer states.
- array_
to_ states - canonical_
schmidt_ spectrum_ subsystem - Canonical Schmidt spectrum for a pure bipartition.
- canonical_
schmidt_ spectrum_ subsystem_ with_ exchange_ phases - density_
expectation - density_
matrix_ spectrum - Sorted eigenvalue spectrum of a row-major positive semidefinite density matrix.
- density_
quantum_ fluctuation - Density-matrix fluctuation
Tr(ρ A²) - Tr(ρ A)². - diagonal_
density_ matrix - diagonal_
ensemble - diagonal_
ensemble_ density - diagonal_
ensemble_ from_ probabilities - diagonal_
ensemble_ observable - ed_
density_ vs_ time - Density-matrix counterpart of
ed_state_vs_time, with row-major input and output matrices. - ed_
state_ vs_ time - Exact time evolution from a complete eigendecomposition.
- energy_
window_ indices - entanglement_
entropy - entanglement_
entropy_ batch - entanglement_
entropy_ density - entanglement_
entropy_ density_ subsystem - entanglement_
entropy_ sector - Entanglement entropy of a pure state represented in a binary sector.
- entanglement_
entropy_ subsystem - entanglement_
spectrum - entanglement_
spectrum_ density - entanglement_
spectrum_ density_ subsystem - entanglement_
spectrum_ sector - Entanglement spectrum of a pure state represented in a binary sector.
- entanglement_
spectrum_ subsystem - entropy_
from_ spectrum - Entropy of an already validated density-matrix spectrum.
- expectation
- fermionic_
subsystem_ phases - Fock-space signs induced by grouping selected fermionic modes into a subsystem. The returned phase is indexed by the original packed state.
- ints_
to_ array - Convert integer states to most-significant-site-first binary rows.
- kl_
divergence - matrix_
element - mean_
level_ spacing - Mean adjacent-gap ratio of an ordered spectrum.
- noncommuting_
subsystem_ exchange_ phases - General exchange phases induced by regrouping disjoint binary-mode groups.
- noncommuting_
subsystem_ phases - Exchange phases induced by regrouping a tensor product with selected mutually anticommuting site groups.
- observables_
vs_ time - partial_
trace - Reduced density matrix of the first factor of a pure bipartite state.
- partial_
trace_ density - Reduced density matrix of the first factor for a row-major mixed state.
- partial_
trace_ density_ subsystem - Mixed-state partial trace for an arbitrary retained site set.
- partial_
trace_ sector_ density - Reduced density matrix of a mixed state stored in an arbitrary binary sector basis.
- partial_
trace_ sector_ state - Reduced density matrix of a pure state stored in an arbitrary binary sector basis.
- partial_
trace_ subsystem - Reduced density matrix for an arbitrary retained set of mixed-radix sites. Site zero is the least-significant local digit, matching the basis encodings.
- project_
operator - Compute
P† A Pone reduced column at a time. - quantum_
fluctuation - Variance
||A psi||^2 - |<psi|A|psi>|^2for a normalized state. - raw_
quantum_ fluctuation - Raw pure-state fluctuation
⟨ψ|A²|ψ⟩ - ⟨ψ|A|ψ⟩²without normalizingψ. - states_
to_ array - subspace_
fidelity - Mean squared principal-angle cosine between two subspaces.
- subsystem_
dimensions - Tensor-product dimensions selected by an arbitrary retained site set.