scqubits.core.units#

Functions

from_standard_units(value)

Converts value (a frequency or angular frequency) from standard units ([Hz] or 2pi / [s]) to currently set system units.

get_units()

The get_units function returns the current units of the system.

get_units_time_label([units])

Get a latex representation of 1/units

set_units(units)

The set_units function is used to set the system units for all qubit instances.

show_supported_units()

Returns a list of supported system units.

to_standard_units(value)

Converts value (a frequency or angular frequency) from currently set system units, to standard units (Hz or 2pi/s).

units_scale_factor([units])

The units_scale_factor function returns a numerical scaling factor that converts from Hz to the units given as a string argument.