qml.estimator.compact_hamiltonian.CDFHamiltonian¶
- class CDFHamiltonian(num_orbitals, num_fragments, one_norm=None)[source]¶
Bases:
objectFor a compressed double-factorized (CDF) Hamiltonian, stores the minimum necessary information pertaining to resource estimation.
The form of this Hamiltonian is described in arXiv:2506.15784.
- Parameters:
num_orbitals (int) – number of spatial orbitals
num_fragments (int) – number of fragments in the compressed double-factorized (CDF) representation
one_norm (float | None) – the one-norm of the Hamiltonian
- Raises:
TypeError – if
num_orbitals, ornum_fragmentsis not a positive integerTypeError – if
one_normis provided but is not a non-negative float or integer
See also
TrotterCDFAttributes
code/api/pennylane.estimator.compact_hamiltonian.CDFHamiltonian
Download Python script
Download Notebook
View on GitHub