- class SQUID_LOOP(design: QDesign, name: str = None, options: Dict = None, make=True, component_template: Dict = None)[source]¶
The base “SQUID_LOOP” inherits the “QComponent” class.
This creates a simple SQUID loop consisting of two Josephson junctions (JJs) located on opposite sides of a rectangular loop. The design consists of eight separate rectangles: plate1, segment a (and segment a lower), segment b (and segment b lower), segment c, segment d and plate 2. The two JJs are located between segments and a and b (and also between segments a lower and b lower.)
- Default Options:
plate1_width: ‘5.5um’ – width of plate1 (left)
plate1_height: ‘40um’ – height of plate1 (left)
plate1_pos_x: ‘0’ – origin of the plate1 (left)
plate1_pos_y: ‘0’ – origin of the plate1 (left)
squid_gap: ‘10um’ – space between ‘seg a’ and ‘seg a lower’
segment_a_length: ‘10um’ – length of seg a
segment_a_width: ‘1um’ – width of seg a
JJ_gap: ‘0.5um’ – space between seg a and seg b
segment_b_length: ‘5um’ – length of seg b
segment_b_width: ‘1um’ – width of seg b
segment_c_width: ‘10um’ – length of seg c
segment_d_length: ‘10um’ – length of seg d
segment_d_width: ‘2um’ – width of seg d
plate2_width: ‘6um’ – width of plate 2 (right)
plate2_height: ‘30um’ – height of plate 2 (right)
Create a new Metal component and adds it’s default_options to the design.
design (QDesign) – The parent design.
name (str) – Name of the component. Auto-named if possible.
options (dict) – User options that will override the defaults. Defaults to None.
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 True.
component_template (dict) – User can overwrite the template options for the component that will be stored in the design, in design.template, and used every time a new component is instantiated. Defaults to None.
ValueError – User supplied design isn’t a QDesign
- Note: Information copied from QDesign class.
self._design.overwrite_enabled (bool): When True - If the string name, used for component, already exists in the design, the existing component will be deleted from design, and new component will be generated with the same name and newly generated component_id, and then added to design.
When False - If the string name, used for component, already exists in the design, the existing component will be kept in the design, and current component will not be generated, nor will be added to the design. The variable design.self.status will still be NotBuilt, as opposed to Initialization Successful.
Either True or False - If string name, used for component, is NOT being used in the design, a component will be generated and added to design using the name.
the full module name with the class name.
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.
Add a dependency between one component and another.
SQUID_LOOP.add_pin(name, points, width[, ...])
Adds a pin from two points which are normal/tangent to the intended plane of the pin.
SQUID_LOOP.add_qgeometry(kind, geometry[, ...])
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.
Convert self.options into QGeometry.
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.
Draw all the qgeometry of the component (polys and path etc.)
Returns the entire element table for the component.
Builds the QComponent.
- param thin:
If true then any key in the QComponent's options whose value