LOManalysis¶
- class LOManalysis(design: Optional[qiskit_metal.designs.design_base.QDesign] = None, renderer_name: Optional[str] = None)[source]¶
Performs Lumped Oscillator Model analysis on a simulated or user-provided capacitance matrix.
- Default Setup:
- junctions (Dict)
Lj (float): Junction inductance (in nH)
Cj (float): Junction capacitance (in fF)
freq_readout (float): Coupling readout frequency (in GHz).
- freq_bus (Union[list, float]): Coupling bus frequencies (in GHz).
freq_bus can be a list with the order they appear in the capMatrix.
- Data Labels:
lumped_oscillator (pd.DataFrame): Lumped oscillator result at the last simulation pass
- lumped_oscillator_all (dict): of pd.DataFrame. Lumped oscillator resulting
at every pass of the simulation
Initialize the Lumped Oscillator Model analysis.
- Parameters
design (QDesign) – Pointer to the main qiskit-metal design. Used to access the QRenderer. Defaults to None.
renderer_name (str, optional) – Which renderer to use. Valid entries: ‘q3d’. Defaults to None.
Attributes
Default data labels.
Default setup.
Returns the logger.
Getter
Getter
Dictionary intended to be used to modify the analysis behavior.
Set that contains the names of the variables supported from the analysis.
Methods
LOManalysis.clear_data
([data_name])Clear data.
LOManalysis.get_data
([data_name])Retrieves the analysis module data.
Retrieves the list of data labels currently set.
LOManalysis.load_simulation_data
(data_name, data)Load simulation data for the following analysis.
LOManalysis.plot_convergence
(*args, **kwargs)Plots alpha and frequency versus pass number, as well as convergence of delta (in %).
LOManalysis.plot_convergence_chi
(*args, **kwargs)Plot convergence of chi and g, both in MHz, as a function of pass number.
Prints the args and kwargs that were used in the last run() of this Analysis instance.
LOManalysis.run
(*args, **kwargs)Executes sequentially the system capacitance simulation (if a renderer was provided at creation of this object) and lom extraction by executing the methods LumpedElementsSim.run_sim(*args, **kwargs) and LOManalysis.run_lom().
Executes the lumped oscillator extraction from the capacitance matrix, and based on the setup values.
LOManalysis.run_sweep
(*args, **kwargs)User requests sweeper based on arguments from Sweeper.run_sweep().
LOManalysis.save_run_args
(**kwargs)Intended to be used to store the kwargs passed to the run() method, for repeatability and for later identification of the QAnalysis instance.
LOManalysis.set_data
(data_name, data)Stores data in a structure for later retrieval.
LOManalysis.setup_update
([section])Intended to modify multiple setup settings at once, while retaining previous settings.