qml.estimator.compact_hamiltonian.VibrationalHamiltonian

class VibrationalHamiltonian(num_modes, grid_size, taylor_degree, one_norm=None)[source]

Bases: object

For a vibrational Hamiltonian, stores the minimum necessary information pertaining to resource estimation.

Parameters:
  • num_modes (int) – number of vibrational modes

  • grid_size (int) – number of grid points used to discretize each mode

  • taylor_degree (int) – degree of the Taylor expansion used in the vibrational representation

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

Returns:

An instance of VibrationalHamiltonian

Return type:

VibrationalHamiltonian

See also

TrotterVibrational

one_norm

one_norm = None