qiskit.chemistry.WatsonHamiltonian
class WatsonHamiltonian(data, num_modes)
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__
__init__(data, num_modes)
Parameters
- data (
List
[List
[Union
[int
,float
]]]) – Hamiltonian matrix elements - num_modes (
int
) – number of modes
Methods
__init__ (data, num_modes) | type dataList [List [Union [int , float ]]] |
Attributes
data
Returns the matrix elements of the Hamiltonian
Return type
List
[List
[Union
[int
, float
]]]
num_modes
Returns the number of modes
Return type
int
Was this page helpful?
Report a bug or request content on GitHub.