Classes

Here you’ll find an overview of all classes and their parameters.

HilbertSpace

class ntypecqed.hilbertspace.HilbertSpace(**kwargs)

This class represents a physical system in which one can do experiments

This class sets the stage for all the following experiments(simulations) and provides all needed operators and constants

Parameters:
  • N_a (int) – Size of Hilberspace in first cavity mode (3)
  • N_b (int) – Size of Hilbertspace in second cavity mode (3)
  • kappa_a (float) – Decay rate of first cavity mode (4.1*2*pi)
  • kappa_b (float) – Decay rate of second cavity mode (2.9*2*pi)
  • gamma_d1 (float) – Decay rate of D1 excited state (6.07*2*pi)
  • gamma_d2 (float) – Decay rate of D2 excited state (5.75*2*pi)
  • gamma_dephasing (float) – Dephasing rate between the two ground states (0.1*2*pi)

NTypeExperiment

class ntypecqed.simulation.NTypeExperiment(system_parameters, environment=HilbertSpace(N_a=3, N_b=3, kappa_a=4.1, kappa_b=2.9, gamma_d1=5.75, gamma_d2=6.07, dephasing=0.128))

This is the basic simulation class and describes one specific set of parameters

Parameters:
  • system_parameters (dict) – The dictionary with all relevant experimental parameters. Needed parameters are: g_p, g_s, eta_p, eta_s, omega_c, delta_31, delta_42, probe_detuning, signal_detuning, control_detuning.
  • environment (ntypecqed.hilbertspace.HilbertSpace) – The HilbertSpace in which the simulations take place
copy()

Returns a copy of this instance of NTypeExperiment for further usages

Returns:A deep copy of the NTypeExperiment
Return type:NTypeExperiment
driven_hamiltonian

Property that returns the full system Hamiltonian for the current parameters

Returns:The full system’s Hamiltonian including drive
Return type:qutip.QObj
eigenstates

Property that returns the unsorted Eigenenergies and Eigenstates of the undriven system

Returns:The Eigenenergies and Eigenvectors of the undriven system
Return type:tuple(eigenvalues, eigenvectors)
full_undriven_hamiltonian

Property that returns the full undriven Hamiltonian for the current parameters

Returns:The undriven but otherwise complete system’s Hamiltonian including drive
Return type:qutip.QObj
static load(filename)

Loads a saved instance of NTypeExperiment

Parameters:filename (str) – Filename/Path of the saved instance
save(filename)

Saves the current instance of NTypeExperiment

Parameters:filename (str) – Filename/Path of the saved instance
sorted_eigenenergies

Property that returns the sorted Eigenenergies of the system.

Returns:An 2d array with sorted Eigenenergies of the form sorted_array[n_p, n_s] with signal and probe photon number
Return type:2d array
undriven_hamiltonians

Property that returns the bare and the interaction Hamiltonian for the current parameters

Returns:bare and interaction Hamiltonian in tuple (h_bare, h_inter, h_control)
Return type:tuple(qutip.Qobj)