qudit_sim.HamiltonianBuilder.build_hint
- HamiltonianBuilder.build_hint(compile_hint=True, tlist=None)
Build the interaction Hamiltonian.
- Parameters
compile_hint (
bool) – If True, interaction Hamiltonian terms are given as compilable strings.tlist (
Optional[numpy.ndarray]) – Array of time points. If provided and compile_hint=False, all dynamic coefficients are taken as functions and called with (tlist, None), and the resulting arrays are returned.
- Return type
List- Returns
A list of Hamiltonian terms. The first entry may be a single Qobj instance if there is a static term. Otherwise the entries are 2-lists [Qobj, c(t)].