Download dense_evolution/observables.py from Tatopenn/dense-Evolution: direct link, hf CLI and curl.
- Browser
- Download file 655 Bytes
-
https://huggingface.co/Tatopenn/dense-Evolution/resolve/main/dense_evolution/observables.py
- Command line
-
hf download hf://Tatopenn/dense-Evolution/dense_evolution/observables.py
-
curl -L -o observables.py https://huggingface.co/Tatopenn/dense-Evolution/resolve/main/dense_evolution/observables.py
655 Bytes
| """Backward-compatibility shim -- the real implementation moved to | |
| dense_evolution.physics.observables as part of the Phase 2 subpackage split | |
| (see prog.txt). Kept so `from dense_evolution.observables import pauli_expectation, pauli_sum_expectation, pauli_hamiltonian_to_matrix` | |
| (used by external consumers, e.g. Dense-Evolution-Discovery) keeps working | |
| unchanged. Import from dense_evolution.physics.observables directly in new code. | |
| """ | |
| from dense_evolution.physics.observables import pauli_expectation, pauli_sum_expectation, pauli_hamiltonian_to_matrix | |
| __all__ = ['pauli_expectation', 'pauli_sum_expectation', 'pauli_hamiltonian_to_matrix'] | |