qudit_sim.drive.DriveTerm.generate_fn
- DriveTerm.generate_fn(frame_frequency, drive_base, rwa)
Generate the coefficients for X and Y drives.
- Parameters
frame_frequency (
float) – Frame frequency \(\xi_k^{l}\).drive_base (
complex) – Factor \(\alpha_{jk} e^{i \rho_{jk}} \frac{\Omega_j}{2}\).rwa (
bool) – If True, returns the RWA coefficients.
- Return type
Tuple[Union[str,numpy.ndarray,Callable[[Union[float,numpy.ndarray],dict],Union[complex,numpy.ndarray]]],Union[str,numpy.ndarray,Callable[[Union[float,numpy.ndarray],dict],Union[complex,numpy.ndarray]],None]]- Returns
X and Y coefficient functions.