TunableCoupler02¶
- class TunableCoupler02(design, name: str | None = None, options: Dict | None = None, options_connection_pads: dict | None = None, make: bool = True, **kwargs)[source]¶
One of the tunable couplers
- BaseQubit Default Options:
connection_pads: empty Dict – Currently not used, connection count is static. (WIP)
- Default Options:
pocket_width: ‘3mm’ – The width (x-axis) of the transmon pocket
pocket_height: ‘2m’ – The height (y-axis) of the transmon pocket
pos_x: ‘0mm’ – the x-coordinate location of the JJ in the middle of the qubit
pos_y: ‘0mm’ – the y-coordinate location of the JJ in the middle of the qubit
orientation: ‘0’ – the angle of rotation
pad_radius: ‘0.3mm’ – the radius of the two circular pads on either side of the JJ
bus_width: ‘0.1mm’ – the width of the CPW resonator in the coupler
bus_inner_length: ‘0.5mm’ – length of the CPW between the JJ and the circular pad
bus_outer_length: ‘0.5mm’ – length of the CPW between the circular pad and the in/out pin
bus_JJ_height: ‘0.5mm’ – vertical distance between the main cpw line and the offset JJ
JJ_width: ‘0.1mm’ – the width of the JJ
JJ_length: ‘0.4mm’ – the length of the JJ
fbl_width: ‘0.1mm’ – the width of the flux bias line drawn near the JJ
fbl_length: ‘0.5mm’ – the length of the flux bias line drawn near the JJ
fbl_offset: ‘0.1mm’ – the lateral offset between the flux bias line and the JJ
layer: ‘1’ – the default design layer
- Parameters:
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.
Attributes
the full module name with the class name.
Component metadata
Default 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.
Methods
TunableCoupler02.add_dependency
(parent, child)Add a dependency between one component and another.
TunableCoupler02.add_pin
(name, points, width)Adds a pin from two points which are normal/tangent to the intended plane of the pin.
TunableCoupler02.add_qgeometry
(kind, geometry)Add QGeometry.
WARNING: Do NOT use this method during generation of component instance.
Delete the QComponent.
TunableCoupler02.get_pin
(name)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.
Builds the component.
TunableCoupler02.parse_options
([options])Parse the options, converting string into interpreted values.
TunableCoupler02.parse_value
(value)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.
TunableCoupler02.qgeometry_dict
(element_type)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.
TunableCoupler02.qgeometry_list
([element_type])Returns a list of element qgeometry (shapely geometry) of the component as a python list of shapely geometries.
TunableCoupler02.qgeometry_plot
([ax, plot_kw])Draw all the qgeometry of the component (polys and path etc.)
TunableCoupler02.qgeometry_table
(element_type)Returns the entire element table for the component.
Builds the QComponent.
TunableCoupler02.to_script
([thin, ...])- param thin:
If true then any key in the QComponent's options whose value