scqubits.ui.qubit_widget.create_widget#

scqubits.ui.qubit_widget.create_widget(callback_func, init_params, image_filename=None)[source]#

Displays ipyvuetify for initialization of a QuantumSystem object.

Parameters:
  • callback_func (Callable) – callback_function depends on all the parameters provided as keys (str) in the parameter_dict, and is called upon changes of values inside the widgets

  • init_params (Dict[str, Any]) – names and values of initialization parameters

  • image_filename (Optional[str]) – file name for circuit image to be displayed alongside the qubit

Return type:

None