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, MHz, kHz and Hz, with GHz being the default. A list containing these possible choices can be shown with the show_supported_units function.

The current units setting can be obtained with the get_units function. A new setting can be established with the set_units function:

import scqubits as scq

scqubits also includes several helper functions for convenient conversion from the current system units to and from Hz. This is accomplished with functions to_standard_units and from_standard_units.