qml.estimator.compact_hamiltonian.THCHamiltonian

class THCHamiltonian(num_orbitals, tensor_rank)[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

Returns:

An instance of THCHamiltonian

Return type:

THCHamiltonian

See also

TrotterTHC