qudit_sim.HamiltonianBuilder.eigenvalues

HamiltonianBuilder.eigenvalues()

Compute the energy eigenvalues of the static Hamiltonian (free and coupling).

Eigenvalues are ordered so that element [i, j, ...] corresponds to the energy of the state with the largest component of \(|i\rangle_0 |j\rangle_1 \dots\), where \(|l\rangle_k\) is the \(l\)-th energy eigenstate of the free qudit \(k\).

Return type

numpy.ndarray

Returns

An array of energy eigenvalues.