Modifying Settings of scqubits¶
User Accessible Parameters¶
scqubits has a few internal parameters that can be changed by the user:
Setting |
Options |
Description |
|
---|---|---|---|
|
FileType.h5, FileType.csv |
Switches between supported file formats for writing data to disk. |
|
|
True / False |
Switches display of progressbar on/off. |
|
|
True / False (default: True) |
Whether to generate |
|
|
True / False (default: True) |
Whether to use central dispatch system |
|
|
str |
‘pathos’ (default) or ‘multiprocessing’ |
|
|
int |
Number of cores to be used in parallelization (default: 1) |
|
|
True / False (default: False) |
Whether to enable approximate value-based slicing |
|
|
True / False (default: True) |
Whether to warn user about use of approximate values in slicing |
Users can also set up units of the energy scales. This is discussed in the Units section of the user guide.
Note
The DEFAULT_ENERGY_UNIT
setting is no longer used - see Units for information on how to set energy units.
Example: Changing Settings¶
Modifying the settings is simple, for example:
scqubits.settings.PROGRESSBAR_DISABLED = True