mm.physics.fock.settings

mrmustard.physics.fock.settings

A class containing various settings that are used by Mr Mustard throughout a session.

Some of these settings (such as those representing cutoff values) can be changed at any time, while others (such as the value of the Planck constant) can only be changed before being queried for the first time.

from mrmustard import settings

>>> settings.AUTOCUTOFF_MAX_CUTOFF  # check the default values
100

>>> settings.AUTOCUTOFF_MAX_CUTOFF = 150  # update to new values
>>> settings.AUTOCUTOFF_MAX_CUTOFF
150