pyEPR.calcs.hamiltonian module¶
Hamiltonian and Matrix Operations. Hamiltonian operations heavily draw on qutip package. This package must be installed for them to work.
-
class
pyEPR.calcs.hamiltonian.
HamOps
[source]¶ Bases:
object
-
static
closest_state_to
(s: qutip.qobj.Qobj, energyMHz, evecs)[source]¶ Returns the energy of the closest state to s
-
static
-
class
pyEPR.calcs.hamiltonian.
MatrixOps
[source]¶ Bases:
object
-
static
cos
(op_cos_arg: qutip.qobj.Qobj)[source]¶ Make cosine operator matrix from argument op_cos_arg
op_cos_arg (qutip.Qobj) : argument of the cosine
-
static