Units

This section describes the unit systems in QEpsilon.

There are two types of unit systems in QEpsilon. Users should choose the unit system that is most convenient for their application and use it consistently throughout the code.

Unit System for Qubits

Base units:

  • length: \(\mathrm{\mu m}\)

  • time: \(\mathrm{\mu s}\)

  • energy: \(\mathrm{\hbar \cdot MHz}\)

For a detailed list of derived units and physical constants, see the API documentation for the qepsilon.utilities.Constants class.

To use this unit system:

from qepsilon.utilities import Constants as units
fs = units.fs
print(fs)

Unit System for Condensed Matters

Base units:

  • length: \(\mathrm{pm}\)

  • time: \(\mathrm{ps}\)

  • energy: \(\mathrm{\hbar \cdot THz}\)

For a detailed list of derived units and physical constants, see the API documentation for the qepsilon.utilities.Constants_Metal class.

To use this unit system:

from qepsilon.utilities import Constants_Metal as units
fs = units.fs
print(fs)