qiskit.chemistry.WatsonHamiltonian¶
-
class
WatsonHamiltonian
(data, num_modes)[소스]¶ Watson Hamiltonian class containing the results of a driver’s anharmonic calculation
- 매개변수
data (
List
[List
[Union
[int
,float
]]]) – Hamiltonian matrix elementsnum_modes (
int
) – number of modes
-
__init__
(data, num_modes)[소스]¶ - 매개변수
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
- 반환 형식
List
[List
[Union
[int
,float
]]]
-
property
num_modes
¶ Returns the number of modes
- 반환 형식
int