jj_manhattan

class jj_manhattan(design: QDesign, name: str = None, options: Dict = None, make=True, component_template: Dict = None)[source]

The base “JJ_Manhattan” inherits the “QComponent” class.

NOTE TO USER: Please be aware that when designing with this qcomponent, one must take care in accounting for the junction qgeometry when exporting to to GDS and/or to a simulator. This qcomponent should not be rendered for EM simulation.

This creates a “Manhattan”-style Josephson Junction consisting of two overlapping thin metal strips, each connected to a larger metallic pad region.

apidocs/JJ_Manhattan.png
Default Options:
  • JJ_pad_lower_width: ‘4um’ – width of lower JJ metal region

  • JJ_pad_lower_height: ‘2um’ – height of lower JJ metal region

  • JJ_pad_lower_pos_x: ‘0’ – the initial x-coord of the lower rectangle

  • JJ_pad_lower_pos_y: ‘0’ – the initial y-coord of the lower rectangle

  • finger_lower_width: ‘1um’ – the width of the overlapping rectangular finger(s)

  • finger_lower_height: ‘20um’ – the length of the overlapping rectangular finger(s)

  • extension: ‘1um’ – the length of the fingers extending beyond the cross-point

Create a new Metal component and adds it’s default_options to the design.

Parameters:
  • 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.

Raises:

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.

Attributes

jj_manhattan.TOOLTIP

jj_manhattan.class_name

the full module name with the class name.

jj_manhattan.component_metadata

Component metadata

jj_manhattan.default_options

Default drawing options

jj_manhattan.design

Return a reference to the parent design object.

jj_manhattan.id

The unique id of component within a design.

jj_manhattan.logger

The Qiskit Metal Logger.

jj_manhattan.name

Name of the component.

jj_manhattan.options

A dictionary of the component-designer-defined options.

jj_manhattan.pin_names

The names of the pins.

jj_manhattan.qgeometry_types

Get a list of the names of the element tables.

jj_manhattan.pins

Dictionary of pins.

jj_manhattan.metadata

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

jj_manhattan.status

Stores the latest status of the component.

Methods

jj_manhattan.add_dependency(parent, child)

Add a dependency between one component and another.

jj_manhattan.add_pin(name, points, width[, ...])

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

jj_manhattan.add_qgeometry(kind, geometry[, ...])

Add QGeometry.

jj_manhattan.connect_components_already_in_design(...)

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

jj_manhattan.delete()

Delete the QComponent.

jj_manhattan.get_pin(name)

Interface for components to get pin data.

jj_manhattan.get_template_options(design[, ...])

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.

jj_manhattan.make()

Convert self.options into QGeometry.

jj_manhattan.parse_options([options])

Parse the options, converting string into interpreted values.

jj_manhattan.parse_value(value)

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

jj_manhattan.populate_to_track_table_usage()

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

jj_manhattan.qgeometry_bounds()

Fetched the component bound dict_value.

jj_manhattan.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.

jj_manhattan.qgeometry_list([element_type])

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

jj_manhattan.qgeometry_plot([ax, plot_kw])

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

jj_manhattan.qgeometry_table(element_type)

Returns the entire element table for the component.

jj_manhattan.rebuild()

Builds the QComponent.

jj_manhattan.to_script([thin, is_part_of_chip])

param thin:

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