qml.estimator.compact_hamiltonian.THCHamiltonian

class THCHamiltonian(num_orbitals, tensor_rank, one_norm=None)[source]

Bases: object

For a tensor hypercontracted (THC) Hamiltonian, stores the minimum necessary information pertaining to resource estimation.

The form of this Hamiltonian is described in arXiv:2407.04432.

Parameters:
  • num_orbitals (int) – number of spatial orbitals

  • tensor_rank (int) – tensor rank of two-body integrals in the tensor hypercontracted (THC) representation

  • one_norm (float | None) – the one-norm of the Hamiltonian

Raises:
  • TypeError – if num_orbitals, or tensor_rank is not a positive integer

  • TypeError – if one_norm is provided but is not a non-negative float or integer

See also

TrotterTHC

one_norm

one_norm = None