scqubits.core.units.set_units#

scqubits.core.units.set_units(units)[source]#

The set_units function is used to set the system units for all qubit instances. The default unit system is GHz, but this can be changed by calling set_units() with one of the _supported_units

Parameters:

units (str) – Specify the units that are to be used in the system

Return type:

str

Returns:

The units that were set