class TransmonPocketTeeth(design, name: str | None = None, options: Dict | None = None, options_connection_pads: dict | None = None, make: bool = True, **kwargs)[source]

Transmon pocket with ‘Teeth’ connection pads.

Inherits BaseQubit class


Create a standard pocket transmon qubit for a ground plane with teeth Here we use the ‘Teeth’ shape which ones connected to the top pad and one connection pad.


Convention: Values (unless noted) are strings with units included, (e.g., ‘30um’)

  • pad_gap - the distance between the two charge islands, which is also the resulting ‘length’ of the pseudo junction

  • inductor_width - width of the pseudo junction between the two charge islands (if in doubt, make the same as pad_gap). Really just for simulating in HFSS / other EM software

  • pad_width - the width (x-axis) of the charge island pads, except the circle radius from both sides

  • pad_height - the size (y-axis) of the charge island pads

  • pocket_width - size of the pocket (cut out in ground) along x-axis

  • pocket_height - size of the pocket (cut out in ground) along y-axis

  • coupled_pad_gap - the distance between the two teeth shape

  • coupled_pad_width - the width (x-axis) of the teeth shape on the island pads

  • coupled_pad_height - the size (y-axis) of the teeth shape on the island pads

Connector lines:
  • pad_gap - space between the connector pad and the charge island it is nearest to

  • pad_width - width (x-axis) of the connector pad

  • pad_height - height (y-axis) of the connector pad

  • pad_cpw_shift - shift the connector pad cpw line by this much away from qubit

  • pad_cpw_extent - how long should the pad be - edge that is parallel to pocket

  • cpw_width - center trace width of the CPW line

  • cpw_gap - dielectric gap width of the CPW line

  • cpw_extend - depth the connector line extends into ground (past the pocket edge)

  • pocket_extent - How deep into the pocket should we penetrate with the cpw connector (into the ground plane)

  • pocket_rise - How far up or down relative to the center of the transmon should we elevate the cpw connection point on the ground plane

  • loc_W / H - which ‘quadrant’ of the pocket the connector is set to, +/- 1 (check if diagram is correct)


Below is a sketch of the qubit

     +1              0             +1
-1  |                |               |  +1      Y
    |           | | |_| | |          |          ^
    |        ___| |_____| |____      |          |
    |       /     island       \     |          |----->  X
    |       \__________________/     |
    |                |               |
    |  pocket        x               |
    |        ________|_________      |
    |       /                  \     |
    |       \__________________/     |
    |                                |
    |                                |
-1  |________________________________|   +1

     -1                            -1
  • design (QDesign) – The parent design.

  • name (str) – Name of the component.

  • options (dict) – User options that will override the defaults. Defaults to None.

  • options_connection_pads (dict) – User options for connection pads on qubit

  • make (bool) – True if the make function should be called at the end of the init. Options be used in the make function to create the geometry. Defaults to None.




the full module name with the class name.


Component metadata


Default drawing options

Return a reference to the parent design object.

The unique id of component within a design.


The Qiskit Metal Logger.

Name of the component.


A dictionary of the component-designer-defined options.


The names of the pins.


Get a list of the names of the element tables.


Dictionary of pins.


Metadata allows a designer to store extra information or analysis results.


Stores the latest status of the component.


TransmonPocketTeeth.add_dependency(parent, child)

Add a dependency between one component and another.

TransmonPocketTeeth.add_pin(name, points, width)

Adds a pin from two points which are normal/tangent to the intended plane of the pin.

TransmonPocketTeeth.add_qgeometry(kind, geometry)

Add QGeometry.


WARNING: Do NOT use this method during generation of component instance.


Delete the QComponent.


Interface for components to get pin data.


Creates template options for the Metal Component class required for the class to function, based on the design template; i.e., be created, made, and rendered.


Define the way the options are turned into QGeometry.


Makes n individual connector.


Makes standard transmon in a pocket.


Makes standard transmon in a pocket.


Parse the options, converting string into interpreted values.


Parse a string, mappable (dict, Dict), iterable (list, tuple) to account for units conversion, some basic arithmetic, and design variables.


Use the element_handler to get a list of all the table names used in QGeometry.


Fetched the component bound dict_value.


Returns a dict of element qgeometry (shapely geometry) of the component as a python dict, where the dict keys are the names of the qgeometry and the corresponding values are the shapely geometries.


Returns a list of element qgeometry (shapely geometry) of the component as a python list of shapely geometries.

TransmonPocketTeeth.qgeometry_plot([ax, plot_kw])

Draw all the qgeometry of the component (polys and path etc.)


Returns the entire element table for the component.


Builds the QComponent.

TransmonPocketTeeth.to_script([thin, ...])

param thin:

If true then any key in the QComponent's options whose value