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.

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

Returns:

An instance of THCHamiltonian

Return type:

THCHamiltonian

See also

TrotterTHC

one_norm

one_norm = None