|
Download docs/api/measurement.md from Tatopenn/dense-Evolution: direct link, hf CLI and curl.
- Browser
- Download file 455 Bytes
-
https://huggingface.co/Tatopenn/dense-Evolution/resolve/main/docs/api/measurement.md
- Command line
-
hf download hf://Tatopenn/dense-Evolution/docs/api/measurement.md
-
curl -L -o measurement.md https://huggingface.co/Tatopenn/dense-Evolution/resolve/main/docs/api/measurement.md
455 Bytes
Measurement (shot sampling & pure-state fidelity)
Turning a statevector into finite-shot counts (sample_counts, a Qiskit-get_counts()
equivalent), and comparing two pure states directly (statevector_fidelity) without building a
density matrix first.
::: dense_evolution.utils.measurement
See also: uhlmann_fidelity for the density-matrix fidelity statevector_fidelity
is the pure-state counterpart of.