Shortcuts

qiskit.chemistry.WatsonHamiltonian

class WatsonHamiltonian(data, num_modes)[source]

Watson Hamiltonian class containing the results of a driver’s anharmonic calculation

Parameters
  • data (List[List[Union[int, float]]]) – Hamiltonian matrix elements

  • num_modes (int) – number of modes

__init__(data, num_modes)[source]
Parameters
  • data (List[List[Union[int, float]]]) – Hamiltonian matrix elements

  • num_modes (int) – number of modes

Methods

__init__(data, num_modes)

type data

List[List[Union[int, float]]]

Attributes

data

Returns the matrix elements of the Hamiltonian

num_modes

Returns the number of modes

property data

Returns the matrix elements of the Hamiltonian

Return type

List[List[Union[int, float]]]

property num_modes

Returns the number of modes

Return type

int

You are viewing lang: English
Languages
English
Japanese
German
Korean