qudit_sim.HamiltonianBuilder.build_hdrive
- HamiltonianBuilder.build_hdrive(rwa=False, tlist=None, args=None)
Build the drive Hamiltonian.
- Parameters
rwa (
bool) – If True, apply the rotating-wave approximation.tlist (
Optional[numpy.ndarray]) – Array of time points. Required when at least one drive amplitude is given as an array.args (
Optional[Dict[str,Any]]) – Arguments to the callable coefficients.
- 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)].