QuantumSystem¶
- class scqubits.core.qubit_base.QuantumSystem(id_str)[source]¶
Generic quantum system class.
- Return type:
QuantumSystemType
Methods
QuantumSystem.__init__(id_str)QuantumSystem.broadcast(event, **kwargs)Request a broadcast from CENTRAL_DISPATCH reporting event.
Use ipywidgets to create a new class instance.
Return dictionary with default parameter values for initialization of class instance.
Returns dict appropriate for creating/initializing a new Serializable object.
Returns a list of all operator names for the quantum system.
Returns dimension of Hilbert space.
QuantumSystem.receive(event, sender, **kwargs)Receive a message from CENTRAL_DISPATCH and initiate action on it.
QuantumSystem.set_params(**kwargs)Set new parameters through the provided dictionary.
Set new parameters through the provided dictionary.
Returns a list of noise channels this QuantumSystem supports.
QuantumSystem.widget([params])Use ipywidgets to modify parameters of class instance.
Attributes
id_strDescriptor class for properties that are to be monitored for changes.
- broadcast(event, **kwargs)¶
Request a broadcast from CENTRAL_DISPATCH reporting event.
- abstractmethod static default_params()[source]¶
Return dictionary with default parameter values for initialization of class instance.
- get_initdata()[source]¶
Returns dict appropriate for creating/initializing a new Serializable object.
- classmethod get_operator_names()[source]¶
Returns a list of all operator names for the quantum system. Note that this list omits any operators that start with “_”.
- receive(event, sender, **kwargs)¶
Receive a message from CENTRAL_DISPATCH and initiate action on it.
- Parameters:
event (
str) – event name from EVENTSsender (
DispatchClient) – original sender reporting the event**kwargs
- Return type: