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 elementsnum_modes (
int
) – number of modes
-
__init__
(data, num_modes)[source]¶ - Parameters
data (
List
[List
[Union
[int
,float
]]]) – Hamiltonian matrix elementsnum_modes (
int
) – number of modes
Methods
__init__
(data, num_modes)- type data
List
[List
[Union
[int
,float
]]]
Attributes
Returns the matrix elements of the Hamiltonian
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