TransmonCrossFL¶
- class TransmonCrossFL(design, name: str | None = None, options: Dict | None = None, options_connection_pads: dict | None = None, make: bool = True, **kwargs)[source]¶
The base TransmonCrossFL class.
Inherits TransmonCross class
- Description:
Simple Metal Transmon Cross object. Creates the X cross-shaped island, the “junction” on the south end, and up to 3 connectors on the remaining arms (claw or gap).
‘claw_width’ and ‘claw_gap’ define the width/gap of the CPW line that makes up the connector. Note, DC SQUID currently represented by single inductance sheet
Add connectors to it using the connection_pads dictonary. See BaseQubit for more information.
Flux line is added by default to the ‘south’ arm where the DC SQUID is located, default is a symmetric T style
Default Options: Convention: Values (unless noted) are strings with units included, (e.g., ‘30um’)
make_fl - (Boolean) If True, adds a flux line
t_top - length of the flux line for mutual inductance to the SQUID
t_inductive_gap - amount of metallization between the flux line and SQUID
t_offset - degree by which the tail of the T is offset from the center
t_width - width of the flux line’s transmission line center trace
t_gap - dielectric gap of the flux line’s transmission line
- 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 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.
Methods
TransmonCrossFL.add_dependency
(parent, child)Add a dependency between one component and another.
TransmonCrossFL.add_pin
(name, points, width)Adds a pin from two points which are normal/tangent to the intended plane of the pin.
TransmonCrossFL.add_qgeometry
(kind, geometry)Add QGeometry.
WARNING: Do NOT use this method during generation of component instance.
Delete the QComponent.
TransmonCrossFL.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.
Define the way the options are turned into QGeometry.
Makes individual connector pad.
Goes through connector pads and makes each one.
Creates the charge line if the user has charge line option to TRUE.
Makes a basic Crossmon, 4 arm cross.
TransmonCrossFL.parse_options
([options])Parse the options, converting string into interpreted values.
TransmonCrossFL.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.
TransmonCrossFL.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.
TransmonCrossFL.qgeometry_list
([element_type])Returns a list of element qgeometry (shapely geometry) of the component as a python list of shapely geometries.
TransmonCrossFL.qgeometry_plot
([ax, plot_kw])Draw all the qgeometry of the component (polys and path etc.)
TransmonCrossFL.qgeometry_table
(element_type)Returns the entire element table for the component.
Builds the QComponent.
TransmonCrossFL.to_script
([thin, ...])- param thin:
If true then any key in the QComponent's options whose value