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 |
|
|
int (default: 3) |
Threshold number of nodes above which the capacitance matrix is inverted numerically |
Users can also set up units of the energy scales. This is discussed in the Units section of the user guide.
Example: Changing Settings#
Modifying the settings is simple, for example:
scqubits.settings.PROGRESSBAR_DISABLED = True