qp.estimator.compact_hamiltonian.VibronicHamiltonian

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

Bases: object

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

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

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

  • num_states (int) – number of vibronic states

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

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

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

Raises:
  • TypeError – if num_modes, num_states, grid_size, or taylor_degree is not a positive integer

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

See also

TrotterVibronic

grid_size

num_modes

num_states

one_norm

taylor_degree

grid_size = <dataclasses._MISSING_TYPE object>
num_modes = <dataclasses._MISSING_TYPE object>
num_states = <dataclasses._MISSING_TYPE object>
one_norm = None
taylor_degree = <dataclasses._MISSING_TYPE object>