Note

This page was generated from tut//4-Analysis//4.21-Capacitance-matrix.ipynb.

Sweeps - Capacitance matrix#

Prerequisite#

You need to have a working local installation of Ansys

1. Perform the necessary imports and create a QDesign in Metal first.#

[1]:
%load_ext autoreload
%autoreload 2
[2]:
import qiskit_metal as metal
from qiskit_metal import designs, draw
from qiskit_metal import MetalGUI, Dict, Headings
from qiskit_metal.analyses.quantization import LOManalysis
from qiskit_metal.renderers.renderer_ansys.ansys_renderer import QAnsysRenderer
[3]:
design = designs.DesignPlanar()
gui = MetalGUI(design)

from qiskit_metal.qlibrary.qubits.transmon_pocket import TransmonPocket
[4]:
design.variables['cpw_width'] = '15 um'
design.variables['cpw_gap'] = '9 um'

In this example, the design consists of 4 qubits and 4 CPWs.#

[5]:
# Allow running the same cell here multiple times to overwrite changes
design.overwrite_enabled = True

## Custom options for all the transmons
options = dict(
    # Some options we want to modify from the defaults
    # (see below for defaults)
    pad_width = '425 um',
    pocket_height = '650um',
    # Adding 4 connectors (see below for defaults)
    connection_pads=dict(
        readout = dict(loc_W=+1,loc_H=-1, pad_width='200um'),
        bus1 = dict(loc_W=-1,loc_H=+1, pad_height='30um'),
        bus2 = dict(loc_W=-1,loc_H=-1, pad_height='50um')
    )
)

## Create 4 transmons

q1 = TransmonPocket(design, 'Q1', options = dict(
    pos_x='+2.42251mm', pos_y='+0.0mm', **options))
q2 = TransmonPocket(design, 'Q2', options = dict(
    pos_x='+0.0mm', pos_y='-0.95mm', orientation = '270', **options))
q3 = TransmonPocket(design, 'Q3', options = dict(
    pos_x='-2.42251mm', pos_y='+0.0mm', orientation = '180', **options))
q4 = TransmonPocket(design, 'Q4', options = dict(
    pos_x='+0.0mm', pos_y='+0.95mm', orientation = '90', **options))

from qiskit_metal.qlibrary.tlines.meandered import RouteMeander
RouteMeander.get_template_options(design)

options = Dict(
        lead=Dict(
            start_straight='0.2mm',
            end_straight='0.2mm'),
        trace_gap='9um',
        trace_width='15um')

def connect(component_name: str, component1: str, pin1: str, component2: str, pin2: str,
            length: str, asymmetry='0 um', flip=False, fillet='90um'):
    """Connect two pins with a CPW."""
    myoptions = Dict(
        fillet=fillet,
        hfss_wire_bonds = True,
        pin_inputs=Dict(
            start_pin=Dict(
                component=component1,
                pin=pin1),
            end_pin=Dict(
                component=component2,
                pin=pin2)),
        total_length=length)
    myoptions.update(options)
    myoptions.meander.asymmetry = asymmetry
    myoptions.meander.lead_direction_inverted = 'true' if flip else 'false'
    return RouteMeander(design, component_name, myoptions)

asym = 140
cpw1 = connect('cpw1', 'Q1', 'bus2', 'Q2', 'bus1', '5.6 mm', f'+{asym}um')
cpw2 = connect('cpw2', 'Q3', 'bus1', 'Q2', 'bus2', '5.7 mm', f'-{asym}um', flip=True)
cpw3 = connect('cpw3', 'Q3', 'bus2', 'Q4', 'bus1', '5.6 mm', f'+{asym}um')
cpw4 = connect('cpw4', 'Q1', 'bus1', 'Q4', 'bus2', '5.7 mm', f'-{asym}um', flip=True)

gui.rebuild()
gui.autoscale()
[6]:
gui.screenshot()
../../_images/tut_4-Analysis_4.21-Capacitance-matrix_9_0.png

2 Metal passes information to the simulator “q3d” to extract the capacitance matrix.#

[7]:
c1 = LOManalysis(design, "q3d")

Prepare data to pass as arguments for method run_sweep().

[8]:
render_design_argument_qcomps = ['Q1']

render_design_argument_endcaps = [('Q1', 'readout'), ('Q1', 'bus1'),('Q1', 'bus2')]

[9]:
# To identify the agruments that you can change.
# They will change based on the simulation software used.
c1.sim.setup
[9]:
{'name': 'Setup',
 'reuse_selected_design': True,
 'reuse_setup': True,
 'freq_ghz': 5.0,
 'save_fields': False,
 'enabled': True,
 'max_passes': 15,
 'min_passes': 2,
 'min_converged_passes': 2,
 'percent_error': 0.5,
 'percent_refinement': 30,
 'auto_increase_solution_order': True,
 'solution_order': 'High',
 'solver_type': 'Iterative'}
[10]:
# For the simulation software, if you don't want to use the default values,
# you can update them as seen below.

# If a setup named "sweeper_q3d_setup" exists in the project, it will be deleted,
# and a new setup will be added.
c1.sim.setup.name = "sweeper_q3d_setup"

c1.sim.setup.freq_ghz = 5.6
c1.sim.setup.max_passes = 9
c1.sim.setup.min_passes = 2
c1.sim.setup.percent_error = 0.45

We will look at modifying the pad_gap of qubit 1, to see how it impacts the anharmonicity of the qubit.

The steps will be; - Connect to Ansys Q3D. - Rebuild QComponents in Metal. - Render QComponents within Q3D and setup the simulation. - Delete/Clear the Q3D between each simulation. - Using the capacitance matrices, LOM for each value in option_sweep is found.

Returns a dict and return code. If the return code is zero, there were no errors detected.#

The dict has: key = each value used to sweep, value = capacitance matrix#

This could take minutes or hours based on the complexity of the design.#

[11]:
sweep_data, return_code = c1.run_sweep(q1.name,
                                       'pad_gap',
                                       ['20um', '30um', '40um'],
                                       render_design_argument_qcomps,
                                       render_design_argument_endcaps,
                                       design_name="GetCapacitance",
                                       box_plus_buffer=True)
INFO 05:12PM [connect_project]: Connecting to Ansys Desktop API...
INFO 05:12PM [load_ansys_project]:      Opened Ansys App
INFO 05:12PM [load_ansys_project]:      Opened Ansys Desktop v2021.2.0
INFO 05:12PM [load_ansys_project]:      Opened Ansys Project
        Folder:    J:/Ansoft/
        Project:   Project5
INFO 05:12PM [connect_design]:  Opened active design
        Design:    GetCapacitance_q3d [Solution type: Q3D]
INFO 05:12PM [get_setup]:       Opened setup `Setup`  (<class 'pyEPR.ansys.AnsysQ3DSetup'>)
INFO 05:12PM [connect]:         Connected to project "Project5" and design "GetCapacitance_q3d" 😀

INFO 05:12PM [connect_design]:  Opened active design
        Design:    GetCapacitance_q3d [Solution type: Q3D]
INFO 05:12PM [get_setup]:       Opened setup `sweeper_q3d_setup`  (<class 'pyEPR.ansys.AnsysQ3DSetup'>)
INFO 05:12PM [analyze]: Analyzing setup sweeper_q3d_setup
INFO 05:13PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpasduwpn9.txt, C, , sweeper_q3d_setup:LastAdaptive, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 1, False
INFO 05:13PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmprvnct2sk.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 1, False
INFO 05:13PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpj_89pabg.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 2, False
INFO 05:13PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmplp2v7wsi.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 3, False
INFO 05:13PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpr1583hvq.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 4, False
INFO 05:13PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpcv77_j8q.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 5, False
INFO 05:13PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmptehz4r2y.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 6, False
INFO 05:13PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpv2q0vlmb.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 7, False
INFO 05:13PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpfyfnx19b.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 8, False
INFO 05:13PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpj_fn6u7x.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 9, False
[3, 4] [5 0 1]
Predicted Values

Transmon Properties
f_Q 5.266513 [GHz]
EC 284.490474 [MHz]
EJ 13.616300 [GHz]
alpha -328.027635 [MHz]
dispersion 16.258044 [KHz]
Lq 11.995161 [nH]
Cq 68.087440 [fF]
T1 53.831750 [us]

**Coupling Properties**

tCqbus1 7.457921 [fF]
gbus1_in_MHz 108.061520 [MHz]
χ_bus1 -2.196070 [MHz]
1/T1bus1 2005.686739 [Hz]
T1bus1 79.351845 [us]

tCqbus2 -6.588291 [fF]
gbus2_in_MHz -82.021155 [MHz]
χ_bus2 -5.704388 [MHz]
1/T1bus2 655.760880 [Hz]
T1bus2 242.702711 [us]

tCqbus3 5.453079 [fF]
gbus3_in_MHz 70.106609 [MHz]
χ_bus3 -2.763400 [MHz]
1/T1bus3 295.077910 [Hz]
T1bus3 539.365834 [us]
Bus-Bus Couplings
gbus1_2 7.422809 [MHz]
gbus1_3 10.345326 [MHz]
gbus2_3 5.654427 [MHz]
INFO 05:13PM [connect_design]:  Opened active design
        Design:    GetCapacitance_q3d [Solution type: Q3D]
INFO 05:13PM [get_setup]:       Opened setup `sweeper_q3d_setup`  (<class 'pyEPR.ansys.AnsysQ3DSetup'>)
INFO 05:13PM [analyze]: Analyzing setup sweeper_q3d_setup
INFO 05:14PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpczb1qvs3.txt, C, , sweeper_q3d_setup:LastAdaptive, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 1, False
INFO 05:14PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpefiqwjuk.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 1, False
INFO 05:14PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpb7_eoa61.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 2, False
INFO 05:14PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpcjsjfzlz.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 3, False
INFO 05:14PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmptyounyv7.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 4, False
INFO 05:14PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpuqz5ofoi.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 5, False
INFO 05:14PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpghifad5m.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 6, False
INFO 05:14PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpu9yh6bfc.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 7, False
INFO 05:14PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpipgeyx_p.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 8, False
INFO 05:14PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpczimzks4.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 9, False
[3, 4] [5 0 1]
Predicted Values

Transmon Properties
f_Q 5.462897 [GHz]
EC 307.600806 [MHz]
EJ 13.616300 [GHz]
alpha -357.287459 [MHz]
dispersion 33.474349 [KHz]
Lq 11.995161 [nH]
Cq 62.971968 [fF]
T1 31.181639 [us]

**Coupling Properties**

tCqbus1 7.545643 [fF]
gbus1_in_MHz 116.213396 [MHz]
χ_bus1 -3.378233 [MHz]
1/T1bus1 3075.191676 [Hz]
T1bus1 51.754479 [us]

tCqbus2 -6.637477 [fF]
gbus2_in_MHz -87.835128 [MHz]
χ_bus2 -11.519528 [MHz]
1/T1bus2 1457.770105 [Hz]
T1bus2 109.176984 [us]

tCqbus3 5.526346 [fF]
gbus3_in_MHz 75.520647 [MHz]
χ_bus3 -5.083082 [MHz]
1/T1bus3 571.162003 [Hz]
T1bus3 278.651140 [us]
Bus-Bus Couplings
gbus1_2 7.279458 [MHz]
gbus1_3 10.197376 [MHz]
gbus2_3 5.507283 [MHz]
INFO 05:14PM [connect_design]:  Opened active design
        Design:    GetCapacitance_q3d [Solution type: Q3D]
INFO 05:15PM [get_setup]:       Opened setup `sweeper_q3d_setup`  (<class 'pyEPR.ansys.AnsysQ3DSetup'>)
INFO 05:15PM [analyze]: Analyzing setup sweeper_q3d_setup
INFO 05:16PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmp4w4vtfuv.txt, C, , sweeper_q3d_setup:LastAdaptive, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 1, False
INFO 05:16PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpd317tmlb.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 1, False
INFO 05:16PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpi6iwsdi9.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 2, False
INFO 05:16PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmp8l_x9l2z.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 3, False
INFO 05:16PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmp1q5inamq.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 4, False
INFO 05:16PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmp9t4l6dmy.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 5, False
INFO 05:16PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmp2sgn1_3h.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 6, False
INFO 05:16PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmp482h5dug.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 7, False
INFO 05:16PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmphez85936.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 8, False
INFO 05:16PM [get_matrix]: Exporting matrix data to (C:\Users\JAGATH~1\AppData\Local\Temp\tmpayf6wj5t.txt, C, , sweeper_q3d_setup:AdaptivePass, "Original", "ohm", "nH", "fF", "mSie", 5600000000, Maxwell, 9, False
[3, 4] [5 0 1]
Predicted Values

Transmon Properties
f_Q 5.603196 [GHz]
EC 324.747859 [MHz]
EJ 13.616300 [GHz]
alpha -379.244809 [MHz]
dispersion 54.335718 [KHz]
Lq 11.995161 [nH]
Cq 59.646977 [fF]
T1 19.153152 [us]

**Coupling Properties**

tCqbus1 7.638504 [fF]
gbus1_in_MHz 122.751924 [MHz]
χ_bus1 -4.681162 [MHz]
1/T1bus1 4274.193323 [Hz]
T1bus1 37.236253 [us]

tCqbus2 -6.694974 [fF]
gbus2_in_MHz -92.444073 [MHz]
χ_bus2 -21.099340 [MHz]
1/T1bus2 3037.626181 [Hz]
T1bus2 52.394513 [us]

tCqbus3 5.592313 [fF]
gbus3_in_MHz 79.741791 [MHz]
χ_bus3 -8.315547 [MHz]
1/T1bus3 997.775951 [Hz]
T1bus3 159.509701 [us]
Bus-Bus Couplings
gbus1_2 7.162962 [MHz]
gbus1_3 10.056266 [MHz]
gbus2_3 5.376093 [MHz]
[12]:
from pandas import DataFrame

ec_val = []
for opt_val in sweep_data.keys():
    ec_val.append([opt_val,sweep_data[opt_val]['variables']['lumped_oscillator']['EC']])

df=DataFrame(ec_val,columns = ['Sweep Value', 'Ec'])
df
[12]:
Sweep Value Ec
0 20um 284.490474
1 30um 307.600806
2 40um 324.747859

We can grab specific values from the results as seen below;

[13]:
sweep_data.keys()
[13]:
dict_keys(['20um', '30um', '40um'])
[14]:
# For each value of option, there is a set of data.
sweep_data['20um'].keys()
[14]:
dict_keys(['option_name', 'variables', 'sim_variables'])
[15]:
sweep_data['20um']['variables'].keys()
[15]:
dict_keys(['lumped_oscillator', 'lumped_oscillator_all'])
[16]:
sweep_data['20um']['sim_variables'].keys()
[16]:
dict_keys(['sim_setup_name', 'cap_matrix', 'units', 'cap_all_passes', 'is_converged'])

A boolean flag indicating whether a sweep has converged can be obtained from the is_converged key within the sim_variables. For instance, the following code retrieves the convergence result for the sweep parameter, 20um. The convergence is extracted from the Ansys Q3D renderer.

[17]:
sweep_data['20um']['sim_variables']['is_converged']
[17]:
True
[18]:
if return_code ==0:
    print(f'{sweep_data.keys()} \n')
    for key in sweep_data.keys():
        print(f'\nkey={key}')

        option_name = sweep_data[key]['option_name']
        print(f'option_name[\'{key}\'][\'option_name\']={option_name}')


        variables = sweep_data[key]['variables']
        sim_variables = sweep_data[key]['sim_variables']

        print(f'variables={variables}')
        print(f'sim_variables={sim_variables}')
dict_keys(['20um', '30um', '40um'])


key=20um
option_name['20um']['option_name']=pad_gap
variables={'lumped_oscillator': {'fQ': 5.266513054956589, 'EC': 284.4904739015804, 'EJ': 13.616300010297985, 'alpha': -328.02763545951046, 'dispersion': 16.25804376029968, 'gbus': array([108.06151986, -82.02115476,  70.10660922]), 'chi_in_MHz': array([-2.19607046, -5.70438759, -2.76340023])}, 'lumped_oscillator_all':          fQ          EC       EJ       alpha dispersion  \
1  5.694647  336.214178  13.6163 -394.047036  73.540872
2  5.597383  324.026735  13.6163 -378.317097  53.282182
3  5.486697   310.47202  13.6163 -360.949348  36.405901
4  5.417928  302.217736  13.6163 -350.437946  28.505987
5  5.355959  294.888507  13.6163 -341.145422  22.741803
6  5.311963  289.747388  13.6163 -334.649978  19.308807
7  5.289385  287.129029  13.6163 -331.349078   17.73438
8  5.266513  284.490474  13.6163 -328.027635  16.258044

                                                gbus  \
1  [102.81449386064145, -70.90109936803726, 74.96...
2  [107.77093095701179, -80.12086229266069, 65.69...
3  [105.54815295436816, -80.44038588561413, 67.29...
4  [104.90594389814552, -79.89581633369512, 68.00...
5  [106.33897608793431, -81.08798197198121, 67.81...
6  [107.12981125367459, -81.3102683906494, 68.975...
7  [107.7012390104641, -81.6418443459811, 69.3910...
8  [108.06151985814759, -82.02115475685893, 70.10...

                                          chi_in_MHz    χr MHz      gr MHz
1  [-3.8088097481735166, -18.580483394229866, -9....  3.808810  102.814494
2  [-3.575143906278383, -15.485277632259882, -5.5...  3.575144  107.770931
3  [-2.8885762215855513, -10.445672739152704, -4....  2.888576  105.548153
4  [-2.5743348275853832, -8.277915423268908, -3.6...  2.574335  104.905944
5  [-2.4159333566958128, -7.106373744825535, -3.1...  2.415933  106.338976
6  [-2.3018225059552377, -6.324281107516913, -2.9...  2.301823  107.129811
7  [-2.2529865943188865, -6.001303111687568, -2.8...  2.252987  107.701239
8  [-2.1960704619822993, -5.704387588554193, -2.7...  2.196070  108.061520  }
sim_variables={'sim_setup_name': 'sweeper_q3d_setup', 'cap_matrix':                           bus1_connector_pad_Q1  bus2_connector_pad_Q1  \
bus1_connector_pad_Q1                  50.68289               -0.45605
bus2_connector_pad_Q1                  -0.45605               54.98763
ground_main_plane                     -34.03296              -36.27948
pad_bot_Q1                             -1.61149              -14.25514
pad_top_Q1                            -13.44472               -1.90696
readout_connector_pad_Q1               -0.21628               -1.03969

                          ground_main_plane  pad_bot_Q1  pad_top_Q1  \
bus1_connector_pad_Q1             -34.03296    -1.61149   -13.44472
bus2_connector_pad_Q1             -36.27948   -14.25514    -1.90696
ground_main_plane                 235.25834   -30.65801   -37.24496
pad_bot_Q1                        -30.65801   104.10961   -36.17944
pad_top_Q1                        -37.24496   -36.17944    93.77409
readout_connector_pad_Q1          -37.12178   -19.15111    -2.31960

                          readout_connector_pad_Q1
bus1_connector_pad_Q1                     -0.21628
bus2_connector_pad_Q1                     -1.03969
ground_main_plane                        -37.12178
pad_bot_Q1                               -19.15111
pad_top_Q1                                -2.31960
readout_connector_pad_Q1                  60.98654  , 'units': 'fF', 'cap_all_passes': {1: array([[ 4.4197190e-14, -3.9163000e-16, -3.1057080e-14, -1.4393800e-15,
        -1.0445580e-14, -1.7242000e-16],
       [-3.9163000e-16,  4.6460040e-14, -3.2925350e-14, -1.1641860e-14,
        -4.2839000e-16, -3.3658000e-16],
       [-3.1057080e-14, -3.2925350e-14,  2.3578951e-13, -2.7958200e-14,
        -3.5407050e-14, -3.4017410e-14],
       [-1.4393800e-15, -1.1641860e-14, -2.7958200e-14,  8.8124720e-14,
        -2.9463370e-14, -1.5955740e-14],
       [-1.0445580e-14, -4.2839000e-16, -3.5407050e-14, -2.9463370e-14,
         7.9743910e-14, -2.0364200e-15],
       [-1.7242000e-16, -3.3658000e-16, -3.4017410e-14, -1.5955740e-14,
        -2.0364200e-15,  5.3205550e-14]]), 2: array([[ 4.5639150e-14, -4.5303000e-16, -3.0625850e-14, -1.4292000e-15,
        -1.2108900e-14, -2.1362000e-16],
       [-4.5303000e-16,  4.9745810e-14, -3.3732750e-14, -1.1903450e-14,
        -1.7305600e-15, -1.0127300e-15],
       [-3.0625850e-14, -3.3732750e-14,  2.3301395e-13, -2.9685080e-14,
        -3.6138470e-14, -3.4679760e-14],
       [-1.4292000e-15, -1.1903450e-14, -2.9685080e-14,  9.1678400e-14,
        -3.0003290e-14, -1.6686200e-14],
       [-1.2108900e-14, -1.7305600e-15, -3.6138470e-14, -3.0003290e-14,
         8.4254420e-14, -1.9635700e-15],
       [-2.1362000e-16, -1.0127300e-15, -3.4679760e-14, -1.6686200e-14,
        -1.9635700e-15,  5.5569040e-14]]), 3: array([[ 4.8119690e-14, -4.5472000e-16, -3.2461830e-14, -1.5757300e-15,
        -1.2521480e-14, -2.1691000e-16],
       [-4.5472000e-16,  5.1630230e-14, -3.4489740e-14, -1.2800260e-14,
        -1.8607800e-15, -1.0098100e-15],
       [-3.2461830e-14, -3.4489740e-14,  2.3061805e-13, -3.0084020e-14,
        -3.6128450e-14, -3.5501860e-14],
       [-1.5757300e-15, -1.2800260e-14, -3.0084020e-14,  9.5969310e-14,
        -3.1906680e-14, -1.7425530e-14],
       [-1.2521480e-14, -1.8607800e-15, -3.6128450e-14, -3.1906680e-14,
         8.7205650e-14, -2.2600600e-15],
       [-2.1691000e-16, -1.0098100e-15, -3.5501860e-14, -1.7425530e-14,
        -2.2600600e-15,  5.7518970e-14]]), 4: array([[ 4.8610720e-14, -4.5836000e-16, -3.2749720e-14, -1.5978600e-15,
        -1.2682000e-14, -2.1824000e-16],
       [-4.5836000e-16,  5.2578160e-14, -3.4972530e-14, -1.3197170e-14,
        -1.8861900e-15, -1.0344000e-15],
       [-3.2749720e-14, -3.4972530e-14,  2.3166021e-13, -3.0284290e-14,
        -3.6528300e-14, -3.5808440e-14],
       [-1.5978600e-15, -1.3197170e-14, -3.0284290e-14,  9.8250440e-14,
        -3.3240560e-14, -1.7712820e-14],
       [-1.2682000e-14, -1.8861900e-15, -3.6528300e-14, -3.3240560e-14,
         8.9216690e-14, -2.2857800e-15],
       [-2.1824000e-16, -1.0344000e-15, -3.5808440e-14, -1.7712820e-14,
        -2.2857800e-15,  5.8182900e-14]]), 5: array([[ 4.9363840e-14, -4.5301000e-16, -3.3226850e-14, -1.5928200e-15,
        -1.2970540e-14, -2.1557000e-16],
       [-4.5301000e-16,  5.3141140e-14, -3.5279460e-14, -1.3497480e-14,
        -1.8826900e-15, -1.0073100e-15],
       [-3.3226850e-14, -3.5279460e-14,  2.3243426e-13, -3.0607630e-14,
        -3.6532310e-14, -3.6209200e-14],
       [-1.5928200e-15, -1.3497480e-14, -3.0607630e-14,  1.0081831e-13,
        -3.4478550e-14, -1.8382560e-14],
       [-1.2970540e-14, -1.8826900e-15, -3.6532310e-14, -3.4478550e-14,
         9.0775280e-14, -2.2863000e-15],
       [-2.1557000e-16, -1.0073100e-15, -3.6209200e-14, -1.8382560e-14,
        -2.2863000e-15,  5.9218980e-14]]), 6: array([[ 4.9985210e-14, -4.5704000e-16, -3.3616870e-14, -1.6030800e-15,
        -1.3178630e-14, -2.1615000e-16],
       [-4.5704000e-16,  5.3973980e-14, -3.5687360e-14, -1.3866960e-14,
        -1.9026000e-15, -1.0226000e-15],
       [-3.3616870e-14, -3.5687360e-14,  2.3349389e-13, -3.0591980e-14,
        -3.6927510e-14, -3.6485030e-14],
       [-1.6030800e-15, -1.3866960e-14, -3.0591980e-14,  1.0237336e-13,
        -3.5303540e-14, -1.8736620e-14],
       [-1.3178630e-14, -1.9026000e-15, -3.6927510e-14, -3.5303540e-14,
         9.2276360e-14, -2.3091300e-15],
       [-2.1615000e-16, -1.0226000e-15, -3.6485030e-14, -1.8736620e-14,
        -2.3091300e-15,  5.9894930e-14]]), 7: array([[ 5.0248640e-14, -4.5663000e-16, -3.3742160e-14, -1.6131600e-15,
        -1.3298120e-14, -2.1674000e-16],
       [-4.5663000e-16,  5.4536010e-14, -3.6050740e-14, -1.4045840e-14,
        -1.9002700e-15, -1.0348200e-15],
       [-3.3742160e-14, -3.6050740e-14,  2.3428136e-13, -3.0627100e-14,
        -3.7020200e-14, -3.6890900e-14],
       [-1.6131600e-15, -1.4045840e-14, -3.0627100e-14,  1.0327317e-13,
        -3.5754980e-14, -1.8974920e-14],
       [-1.3298120e-14, -1.9002700e-15, -3.7020200e-14, -3.5754980e-14,
         9.2955270e-14, -2.3092000e-15],
       [-2.1674000e-16, -1.0348200e-15, -3.6890900e-14, -1.8974920e-14,
        -2.3092000e-15,  6.0565440e-14]]), 8: array([[ 5.0682890e-14, -4.5605000e-16, -3.4032960e-14, -1.6114900e-15,
        -1.3444720e-14, -2.1628000e-16],
       [-4.5605000e-16,  5.4987630e-14, -3.6279480e-14, -1.4255140e-14,
        -1.9069600e-15, -1.0396900e-15],
       [-3.4032960e-14, -3.6279480e-14,  2.3525834e-13, -3.0658010e-14,
        -3.7244960e-14, -3.7121780e-14],
       [-1.6114900e-15, -1.4255140e-14, -3.0658010e-14,  1.0410961e-13,
        -3.6179440e-14, -1.9151110e-14],
       [-1.3444720e-14, -1.9069600e-15, -3.7244960e-14, -3.6179440e-14,
         9.3774090e-14, -2.3196000e-15],
       [-2.1628000e-16, -1.0396900e-15, -3.7121780e-14, -1.9151110e-14,
        -2.3196000e-15,  6.0986540e-14]])}, 'is_converged': True}

key=30um
option_name['30um']['option_name']=pad_gap
variables={'lumped_oscillator': {'fQ': 5.46289654950697, 'EC': 307.6008059702114, 'EJ': 13.616300010297985, 'alpha': -357.28745914780166, 'dispersion': 33.47434947013855, 'gbus': array([116.21339556, -87.83512791,  75.52064749]), 'chi_in_MHz': array([ -3.37823347, -11.51952754,  -5.08308206])}, 'lumped_oscillator_all':          fQ          EC       EJ       alpha  dispersion  \
1  5.830279  353.645796  13.6163  -416.73565  113.172147
2  5.745499  342.689905  13.6163 -402.449411   86.651292
3  5.652966  330.959668  13.6163 -387.251884    64.14433
4  5.600191  324.374985  13.6163 -378.765066   53.788833
5  5.539417  316.886639  13.6163 -369.151877   43.731781
6  5.501965  312.321897  13.6163 -363.311786    38.40525
7  5.476807  309.277112  13.6163 -359.424666   35.161001
8  5.462897  307.600806  13.6163 -357.287459   33.474349

                                                gbus  \
1  [108.98992719353839, -74.66540858425307, 76.43...
2  [112.91989864116363, -82.54641626955339, 69.19...
3  [112.00253623300011, -84.53126333113148, 72.24...
4  [111.7129552679439, -84.54971279864021, 73.324...
5  [113.80880482565388, -85.29604218811512, 73.28...
6  [115.01096521384784, -86.429109644363, 74.2469...
7  [115.76279818788643, -87.36761701089993, 74.76...
8  [116.21339555843822, -87.83512791363434, 75.52...

                                          chi_in_MHz    χr MHz      gr MHz
1  [-5.3973914316567875, -46.71741582928083, -16....  5.397391  108.989927
2  [-5.002677392991025, -32.844329514281235, -9.9...  5.002677  112.919899
3  [-4.221519632060279, -21.760254163093062, -7.9...  4.221520  112.002536
4  [-3.8586174786700056, -17.438517118939654, -6....  3.858617  111.712955
5  [-3.640928569154806, -14.09716741437999, -5.85...  3.640929  113.808805
6  [-3.510312154331441, -12.695294731236578, -5.4...  3.510312  115.010965
7  [-3.423097890240712, -11.925426143748664, -5.1...  3.423098  115.762798
8  [-3.378233467896783, -11.519527540166766, -5.0...  3.378233  116.213396  }
sim_variables={'sim_setup_name': 'sweeper_q3d_setup', 'cap_matrix':                           bus1_connector_pad_Q1  bus2_connector_pad_Q1  \
bus1_connector_pad_Q1                  50.59475               -0.42373
bus2_connector_pad_Q1                  -0.42373               54.94375
ground_main_plane                     -34.00537              -36.29163
pad_bot_Q1                             -1.54779              -14.31897
pad_top_Q1                            -13.49320               -1.83808
readout_connector_pad_Q1               -0.20664               -1.03145

                          ground_main_plane  pad_bot_Q1  pad_top_Q1  \
bus1_connector_pad_Q1             -34.00537    -1.54779   -13.49320
bus2_connector_pad_Q1             -36.29163   -14.31897    -1.83808
ground_main_plane                 237.02640   -31.52366   -38.22709
pad_bot_Q1                        -31.52366    99.53492   -30.61516
pad_top_Q1                        -38.22709   -30.61516    89.15073
readout_connector_pad_Q1          -37.11942   -19.21035    -2.22435

                          readout_connector_pad_Q1
bus1_connector_pad_Q1                     -0.20664
bus2_connector_pad_Q1                     -1.03145
ground_main_plane                        -37.11942
pad_bot_Q1                               -19.21035
pad_top_Q1                                -2.22435
readout_connector_pad_Q1                  60.91761  , 'units': 'fF', 'cap_all_passes': {1: array([[ 4.4218330e-14, -3.5664000e-16, -3.1113930e-14, -1.3706900e-15,
        -1.0520740e-14, -1.6641000e-16],
       [-3.5664000e-16,  4.6489100e-14, -3.2944760e-14, -1.1564330e-14,
        -5.7548000e-16, -3.1984000e-16],
       [-3.1113930e-14, -3.2944760e-14,  2.3767564e-13, -2.8923580e-14,
        -3.6263220e-14, -3.4079430e-14],
       [-1.3706900e-15, -1.1564330e-14, -2.8923580e-14,  8.5775550e-14,
        -2.6142010e-14, -1.6057020e-14],
       [-1.0520740e-14, -5.7548000e-16, -3.6263220e-14, -2.6142010e-14,
         7.7450100e-14, -1.9410100e-15],
       [-1.6641000e-16, -3.1984000e-16, -3.4079430e-14, -1.6057020e-14,
        -1.9410100e-15,  5.3242360e-14]]), 2: array([[ 4.6325230e-14, -4.2047000e-16, -3.1584610e-14, -1.4162100e-15,
        -1.1900660e-14, -2.0238000e-16],
       [-4.2047000e-16,  4.9779490e-14, -3.3812720e-14, -1.1965040e-14,
        -1.6715600e-15, -1.0030400e-15],
       [-3.1584610e-14, -3.3812720e-14,  2.3584731e-13, -3.0625210e-14,
        -3.6991100e-14, -3.4724940e-14],
       [-1.4162100e-15, -1.1965040e-14, -3.0625210e-14,  8.9142120e-14,
        -2.6367590e-14, -1.6742180e-14],
       [-1.1900660e-14, -1.6715600e-15, -3.6991100e-14, -2.6367590e-14,
         8.1202660e-14, -1.9176400e-15],
       [-2.0238000e-16, -1.0030400e-15, -3.4724940e-14, -1.6742180e-14,
        -1.9176400e-15,  5.5596600e-14]]), 3: array([[ 4.781116e-14, -4.224900e-16, -3.238145e-14, -1.508140e-15,
        -1.242209e-14, -2.067700e-16],
       [-4.224900e-16,  5.170372e-14, -3.449845e-14, -1.299176e-14,
        -1.795240e-15, -1.000140e-15],
       [-3.238145e-14, -3.449845e-14,  2.328565e-13, -3.103545e-14,
        -3.708001e-14, -3.567206e-14],
       [-1.508140e-15, -1.299176e-14, -3.103545e-14,  9.285160e-14,
        -2.759688e-14, -1.751171e-14],
       [-1.242209e-14, -1.795240e-15, -3.708001e-14, -2.759688e-14,
         8.360249e-14, -2.166200e-15],
       [-2.067700e-16, -1.000140e-15, -3.567206e-14, -1.751171e-14,
        -2.166200e-15,  5.763952e-14]]), 4: array([[ 4.8484680e-14, -4.2765000e-16, -3.2827670e-14, -1.5419100e-15,
        -1.2581860e-14, -2.0936000e-16],
       [-4.2765000e-16,  5.2746780e-14, -3.5034120e-14, -1.3418960e-14,
        -1.8169100e-15, -1.0270100e-15],
       [-3.2827670e-14, -3.5034120e-14,  2.3360505e-13, -3.1226640e-14,
        -3.7280880e-14, -3.5886480e-14],
       [-1.5419100e-15, -1.3418960e-14, -3.1226640e-14,  9.4740220e-14,
        -2.8469770e-14, -1.7808840e-14],
       [-1.2581860e-14, -1.8169100e-15, -3.7280880e-14, -2.8469770e-14,
         8.4958130e-14, -2.1791000e-15],
       [-2.0936000e-16, -1.0270100e-15, -3.5886480e-14, -1.7808840e-14,
        -2.1791000e-15,  5.8221940e-14]]), 5: array([[ 4.8928030e-14, -4.2235000e-16, -3.3016070e-14, -1.5386100e-15,
        -1.2845170e-14, -2.0677000e-16],
       [-4.2235000e-16,  5.3069610e-14, -3.5143740e-14, -1.3675150e-14,
        -1.8136800e-15, -9.9928000e-16],
       [-3.3016070e-14, -3.5143740e-14,  2.3401567e-13, -3.1505580e-14,
        -3.7644370e-14, -3.6157100e-14],
       [-1.5386100e-15, -1.3675150e-14, -3.1505580e-14,  9.6955680e-14,
        -2.9440700e-14, -1.8481020e-14],
       [-1.2845170e-14, -1.8136800e-15, -3.7644370e-14, -2.9440700e-14,
         8.6629220e-14, -2.1968600e-15],
       [-2.0677000e-16, -9.9928000e-16, -3.6157100e-14, -1.8481020e-14,
        -2.1968600e-15,  5.9144960e-14]]), 6: array([[ 4.9744140e-14, -4.2602000e-16, -3.3507700e-14, -1.5477100e-15,
        -1.3151570e-14, -2.0706000e-16],
       [-4.2602000e-16,  5.3990280e-14, -3.5717330e-14, -1.3970180e-14,
        -1.8331900e-15, -1.0150200e-15],
       [-3.3507700e-14, -3.5717330e-14,  2.3538074e-13, -3.1492990e-14,
        -3.7927300e-14, -3.6520570e-14],
       [-1.5477100e-15, -1.3970180e-14, -3.1492990e-14,  9.8174080e-14,
        -3.0017040e-14, -1.8830100e-14],
       [-1.3151570e-14, -1.8331900e-15, -3.7927300e-14, -3.0017040e-14,
         8.7842500e-14, -2.2091100e-15],
       [-2.0706000e-16, -1.0150200e-15, -3.6520570e-14, -1.8830100e-14,
        -2.2091100e-15,  5.9890010e-14]]), 7: array([[ 5.0304040e-14, -4.2385000e-16, -3.3825400e-14, -1.5470800e-15,
        -1.3383390e-14, -2.0684000e-16],
       [-4.2385000e-16,  5.4562730e-14, -3.6109810e-14, -1.4131330e-14,
        -1.8331700e-15, -1.0255300e-15],
       [-3.3825400e-14, -3.6109810e-14,  2.3631736e-13, -3.1479700e-14,
        -3.8084980e-14, -3.6914650e-14],
       [-1.5470800e-15, -1.4131330e-14, -3.1479700e-14,  9.8958140e-14,
        -3.0432440e-14, -1.9054770e-14],
       [-1.3383390e-14, -1.8331700e-15, -3.8084980e-14, -3.0432440e-14,
         8.8685850e-14, -2.2178100e-15],
       [-2.0684000e-16, -1.0255300e-15, -3.6914650e-14, -1.9054770e-14,
        -2.2178100e-15,  6.0541990e-14]]), 8: array([[ 5.059475e-14, -4.237300e-16, -3.400537e-14, -1.547790e-15,
        -1.349320e-14, -2.066400e-16],
       [-4.237300e-16,  5.494375e-14, -3.629163e-14, -1.431897e-14,
        -1.838080e-15, -1.031450e-15],
       [-3.400537e-14, -3.629163e-14,  2.370264e-13, -3.152366e-14,
        -3.822709e-14, -3.711942e-14],
       [-1.547790e-15, -1.431897e-14, -3.152366e-14,  9.953492e-14,
        -3.061516e-14, -1.921035e-14],
       [-1.349320e-14, -1.838080e-15, -3.822709e-14, -3.061516e-14,
         8.915073e-14, -2.224350e-15],
       [-2.066400e-16, -1.031450e-15, -3.711942e-14, -1.921035e-14,
        -2.224350e-15,  6.091761e-14]])}, 'is_converged': True}

key=40um
option_name['40um']['option_name']=pad_gap
variables={'lumped_oscillator': {'fQ': 5.603196288676896, 'EC': 324.7478590723875, 'EJ': 13.616300010297985, 'alpha': -379.2448093489956, 'dispersion': 54.33571833992004, 'gbus': array([122.75192426, -92.44407275,  79.74179062]), 'chi_in_MHz': array([ -4.68116172, -21.09933964,  -8.31554677])}, 'lumped_oscillator_all':          fQ          EC       EJ       alpha  dispersion  \
1  5.942448  368.450236  13.6163 -436.183203   159.21458
2  5.860089  357.545759  13.6163 -421.842741  124.079999
3   5.77753   346.80562  13.6163 -407.805744   95.939037
4  5.737369  341.649788  13.6163 -401.097753   84.424981
5  5.684596  334.942753  13.6163 -392.400966   71.169458
6  5.644678  329.920535  13.6163 -385.910471   62.408863
7  5.619535  326.779545  13.6163 -381.860572   57.396903
8  5.603196  324.747859  13.6163 -379.244809   54.335718

                                                gbus  \
1  [114.38520672445735, -77.91536562297485, 77.96...
2  [118.14507620202656, -86.1504566631403, 72.301...
3  [117.78733127044518, -88.41648711373728, 75.26...
4  [117.84135564008048, -88.71652047403923, 76.68...
5  [120.25622025638054, -89.93776777738493, 76.86...
6  [121.56948305978523, -90.94565691616705, 78.44...
7  [122.23628316058053, -92.09397182340028, 78.79...
8  [122.75192426481861, -92.44407275077926, 79.74...

                                          chi_in_MHz    χr MHz      gr MHz
1  [-7.295942608032298, -186.41543152823883, -29....  7.295943  114.385207
2  [-6.68860344251652, -79.71703699689004, -17.06...  6.688603  118.145076
3  [-5.749406339167892, -45.51994077862497, -13.2...  5.749406  117.787331
4  [-5.373834510954572, -36.26780028758106, -11.8...  5.373835  117.841356
5  [-5.124958369774344, -28.48380922738183, -9.94...  5.124958  120.256220
6  [-4.907144357646617, -24.28714089662891, -9.12...  4.907144  121.569483
7  [-4.764435821161295, -22.382303472279492, -8.5...  4.764436  122.236283
8  [-4.6811617174208555, -21.099339639730957, -8....  4.681162  122.751924  }
sim_variables={'sim_setup_name': 'sweeper_q3d_setup', 'cap_matrix':                           bus1_connector_pad_Q1  bus2_connector_pad_Q1  \
bus1_connector_pad_Q1                  50.64383               -0.39535
bus2_connector_pad_Q1                  -0.39535               55.01423
ground_main_plane                     -34.09242              -36.42933
pad_bot_Q1                             -1.48913              -14.37074
pad_top_Q1                            -13.55646               -1.76745
readout_connector_pad_Q1               -0.19817               -1.02182

                          ground_main_plane  pad_bot_Q1  pad_top_Q1  \
bus1_connector_pad_Q1             -34.09242    -1.48913   -13.55646
bus2_connector_pad_Q1             -36.42933   -14.37074    -1.76745
ground_main_plane                 239.00028   -32.35105   -39.13830
pad_bot_Q1                        -32.35105    96.74559   -26.86254
pad_top_Q1                        -39.13830   -26.86254    86.26515
readout_connector_pad_Q1          -37.20723   -19.29195    -2.13165

                          readout_connector_pad_Q1
bus1_connector_pad_Q1                     -0.19817
bus2_connector_pad_Q1                     -1.02182
ground_main_plane                        -37.20723
pad_bot_Q1                               -19.29195
pad_top_Q1                                -2.13165
readout_connector_pad_Q1                  60.96517  , 'units': 'fF', 'cap_all_passes': {1: array([[ 4.4242490e-14, -3.2589000e-16, -3.1180050e-14, -1.3069000e-15,
        -1.0580130e-14, -1.6062000e-16],
       [-3.2589000e-16,  4.6524070e-14, -3.2984390e-14, -1.1518980e-14,
        -6.7004000e-16, -3.0398000e-16],
       [-3.1180050e-14, -3.2984390e-14,  2.3947968e-13, -2.9795340e-14,
        -3.7079460e-14, -3.4156100e-14],
       [-1.3069000e-15, -1.1518980e-14, -2.9795340e-14,  8.4032180e-14,
        -2.3506090e-14, -1.6140410e-14],
       [-1.0580130e-14, -6.7004000e-16, -3.7079460e-14, -2.3506090e-14,
         7.5733560e-14, -1.8492400e-15],
       [-1.6062000e-16, -3.0398000e-16, -3.4156100e-14, -1.6140410e-14,
        -1.8492400e-15,  5.3280840e-14]]), 2: array([[ 4.5616390e-14, -3.9686000e-16, -3.0842440e-14, -1.3883800e-15,
        -1.1984460e-14, -1.9837000e-16],
       [-3.9686000e-16,  4.9820940e-14, -3.3872680e-14, -1.2002070e-14,
        -1.6197500e-15, -1.0311400e-15],
       [-3.0842440e-14, -3.3872680e-14,  2.3684909e-13, -3.1346120e-14,
        -3.7795590e-14, -3.4975700e-14],
       [-1.3883800e-15, -1.2002070e-14, -3.1346120e-14,  8.7279510e-14,
        -2.3604360e-14, -1.6865180e-14],
       [-1.1984460e-14, -1.6197500e-15, -3.7795590e-14, -2.3604360e-14,
         7.9292480e-14, -1.8851600e-15],
       [-1.9837000e-16, -1.0311400e-15, -3.4975700e-14, -1.6865180e-14,
        -1.8851600e-15,  5.5964780e-14]]), 3: array([[ 4.774243e-14, -3.945600e-16, -3.234879e-14, -1.454270e-15,
        -1.247981e-14, -1.988300e-16],
       [-3.945600e-16,  5.157865e-14, -3.453043e-14, -1.294261e-14,
        -1.728270e-15, -9.924400e-16],
       [-3.234879e-14, -3.453043e-14,  2.344610e-13, -3.183040e-14,
        -3.793489e-14, -3.571656e-14],
       [-1.454270e-15, -1.294261e-14, -3.183040e-14,  9.062371e-14,
        -2.453722e-14, -1.759460e-14],
       [-1.247981e-14, -1.728270e-15, -3.793489e-14, -2.453722e-14,
         8.135669e-14, -2.079910e-15],
       [-1.988300e-16, -9.924400e-16, -3.571656e-14, -1.759460e-14,
        -2.079910e-15,  5.766013e-14]]), 4: array([[ 4.8375450e-14, -3.9882000e-16, -3.2753100e-14, -1.4809000e-15,
        -1.2649340e-14, -2.0097000e-16],
       [-3.9882000e-16,  5.2595680e-14, -3.5087220e-14, -1.3334920e-14,
        -1.7464400e-15, -1.0145900e-15],
       [-3.2753100e-14, -3.5087220e-14,  2.3528881e-13, -3.1988810e-14,
        -3.8217180e-14, -3.5959440e-14],
       [-1.4809000e-15, -1.3334920e-14, -3.1988810e-14,  9.2036790e-14,
        -2.5065330e-14, -1.7840350e-14],
       [-1.2649340e-14, -1.7464400e-15, -3.8217180e-14, -2.5065330e-14,
         8.2460870e-14, -2.0930200e-15],
       [-2.0097000e-16, -1.0145900e-15, -3.5959440e-14, -1.7840350e-14,
        -2.0930200e-15,  5.8211970e-14]]), 5: array([[ 4.9096690e-14, -3.9415000e-16, -3.3227640e-14, -1.4835300e-15,
        -1.2897560e-14, -1.9845000e-16],
       [-3.9415000e-16,  5.3034830e-14, -3.5258960e-14, -1.3647410e-14,
        -1.7376000e-15, -9.8836000e-16],
       [-3.3227640e-14, -3.5258960e-14,  2.3597375e-13, -3.2372580e-14,
        -3.8395660e-14, -3.6226080e-14],
       [-1.4835300e-15, -1.3647410e-14, -3.2372580e-14,  9.4223890e-14,
        -2.5781500e-14, -1.8561290e-14],
       [-1.2897560e-14, -1.7376000e-15, -3.8395660e-14, -2.5781500e-14,
         8.3649800e-14, -2.0921300e-15],
       [-1.9845000e-16, -9.8836000e-16, -3.6226080e-14, -1.8561290e-14,
        -2.0921300e-15,  5.9163860e-14]]), 6: array([[ 4.982926e-14, -3.967100e-16, -3.363908e-14, -1.487400e-15,
        -1.320745e-14, -1.987400e-16],
       [-3.967100e-16,  5.400163e-14, -3.580562e-14, -1.401215e-14,
        -1.762220e-15, -1.003590e-15],
       [-3.363908e-14, -3.580562e-14,  2.372922e-13, -3.228836e-14,
        -3.884504e-14, -3.659899e-14],
       [-1.487400e-15, -1.401215e-14, -3.228836e-14,  9.536075e-14,
        -2.629024e-14, -1.890722e-14],
       [-1.320745e-14, -1.762220e-15, -3.884504e-14, -2.629024e-14,
         8.499589e-14, -2.120500e-15],
       [-1.987400e-16, -1.003590e-15, -3.659899e-14, -1.890722e-14,
        -2.120500e-15,  5.993182e-14]]), 7: array([[ 5.0244360e-14, -3.9629000e-16, -3.3810070e-14, -1.4880600e-15,
        -1.3444540e-14, -1.9878000e-16],
       [-3.9629000e-16,  5.4549730e-14, -3.6174730e-14, -1.4169490e-14,
        -1.7662900e-15, -1.0135700e-15],
       [-3.3810070e-14, -3.6174730e-14,  2.3804178e-13, -3.2340100e-14,
        -3.8915950e-14, -3.6999550e-14],
       [-1.4880600e-15, -1.4169490e-14, -3.2340100e-14,  9.6209560e-14,
        -2.6668040e-14, -1.9141080e-14],
       [-1.3444540e-14, -1.7662900e-15, -3.8915950e-14, -2.6668040e-14,
         8.5726250e-14, -2.1270600e-15],
       [-1.9878000e-16, -1.0135700e-15, -3.6999550e-14, -1.9141080e-14,
        -2.1270600e-15,  6.0594280e-14]]), 8: array([[ 5.0643830e-14, -3.9535000e-16, -3.4092420e-14, -1.4891300e-15,
        -1.3556460e-14, -1.9817000e-16],
       [-3.9535000e-16,  5.5014230e-14, -3.6429330e-14, -1.4370740e-14,
        -1.7674500e-15, -1.0218200e-15],
       [-3.4092420e-14, -3.6429330e-14,  2.3900028e-13, -3.2351050e-14,
        -3.9138300e-14, -3.7207230e-14],
       [-1.4891300e-15, -1.4370740e-14, -3.2351050e-14,  9.6745590e-14,
        -2.6862540e-14, -1.9291950e-14],
       [-1.3556460e-14, -1.7674500e-15, -3.9138300e-14, -2.6862540e-14,
         8.6265150e-14, -2.1316500e-15],
       [-1.9817000e-16, -1.0218200e-15, -3.7207230e-14, -1.9291950e-14,
        -2.1316500e-15,  6.0965170e-14]])}, 'is_converged': True}

READ THIS BEFORE running the cell.#

This cell is to demonstrate that if you have already executed c1.sim.run(), you don’t have to set up the environment again for c1.run_sweep(). In another words, if you don’t pass updated arguments to c1.run_sweep(), then c1.run_sweep() looks for the previous desgin arguments.

If you pass anything more than these three arguments: qcomp_name, option_name, option_sweep ….. Then NOTHING will be used from previous run.

c1.sim.solution_order = 'Medium'
c1.sim.auto_increase_solution_order = 'False'


c1.sim.run(components=render_design_argument_qcomps,
           open_terminations=render_design_argument_endcaps)

Because c1.sim.setup.run has the information from last run, this is OK.

sweep_data, return_code = c1.run_sweep(q1.name,
                                        'pad_gap',
                                        ['20um', '30um', '40um'])
[19]:
c1.sim.close()
[20]:
# Uncomment next line if you would like to close the gui
gui.main_window.close()
[20]:
True
[ ]:

For more information, review the Introduction to Quantum Computing and Quantum Hardware lectures below

  • Superconducting Qubits I: Quantizing a Harmonic Oscillator, Josephson Junctions Part 1
Lecture Video Lecture Notes Lab
  • Superconducting Qubits I: Quantizing a Harmonic Oscillator, Josephson Junctions Part 2
Lecture Video Lecture Notes Lab
  • Superconducting Qubits I: Quantizing a Harmonic Oscillator, Josephson Junctions Part 3
Lecture Video Lecture Notes Lab
  • Superconducting Qubits II: Circuit Quantum Electrodynamics, Readout and Calibration Methods Part 1
Lecture Video Lecture Notes Lab
  • Superconducting Qubits II: Circuit Quantum Electrodynamics, Readout and Calibration Methods Part 2
Lecture Video Lecture Notes Lab
  • Superconducting Qubits II: Circuit Quantum Electrodynamics, Readout and Calibration Methods Part 3
Lecture Video Lecture Notes Lab