qudit_sim.drive

Drive Hamiltonian (qudit_sim.drive)

See Drive Hamiltonian for theoretical background.

Functions

abs_function(fun)

abs(fun(t, args))

conj_function(fun)

fun(t, args).conjugate()

cos_freq(freq[, phase])

cos(freq * t + phase)

diff_function(fun1, fun2)

fun1(t, args) - fun2(t, args)

exp_freq(freq[, phase])

cos(freq * t + phase) + 1.j * sin(freq * t + phase)

imag_function(fun)

fun(t, args).imag

prod_function(fun1, fun2)

fun1(t, args) * fun2(t, args)

real_function(fun)

fun(t, args).real

scaled_function(scale, fun)

scale * fun(t, args)

sin_freq(freq[, phase])

sin(freq * t + phase)

sum_function(fun1, fun2)

fun1(t, args) + fun2(t, args)

Classes

DriveTerm([frequency, amplitude, constant_phase])

Data class representing a drive.