scqubits provides a means to set default units for the assumed energies of the quantum systems. These units play a key role in Coherence Times calculations. They are also used to set axes labels in some plot types.
The currently supported units are:
GHz being the default.
A list containing these possible choices can be shown with the
The current units setting can be obtained with the
get_units function. A new setting can be established with the
import scqubits as scq scq.get_units() scq.set_units('MHz')
scqubits also includes several helper functions for convenient conversion from the current system units to and
from Hz. This is accomplished with functions
DEFAULT_ENERGY_UNIT setting is no longer used.