CapNInterdigital

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

Generates a two pin (+) structure comprised of a north CPW transmission line, and a south transmission line, coupled together via a finger capacitor. Such a structure can be used, as an example, for generating CPW resonators. (0,0) represents the center position of the component. Setting finger length to 0 gives a simple gap capacitor. The width of the gap capacitor is found via.

(cap_width * finger_count + * cap_gap * (finger_count-1)).

Inherits QComponent class.

    (0,0)     N
      +       ^
      |       |
      |
      |
 --|-----|--
|  |  |  |  |
|-----|-----|
      |
      |
      |
      |
      +
../_images/CapNInterdigital.png
Options:
  • north_width: ‘10um’ – The width of the ‘north’ portion of the CPW transmission line

  • north_gap: ‘6um’ – The dielectric gap of the ‘north’ portion of the CPW transmission line

  • south_width: ‘10um’ – The width of the ‘south’ portion of the CPW transmission line

  • south_gap: ‘6um’ – The dielectric gap of the ‘south’ portion of the CPW transmission line

    (also for the capacitor gap to ground)

  • cap_width: ‘10um’ – The width of the finger capacitor metal (and islands)

  • cap_gap: ‘6um’ – The width of dielectric for the capacitive coupling/fingers

  • cap_gap_ground: ‘6um’ – Width of the dielectric between the capacitor and ground

  • finger_length: ‘20um’ – The depth of the finger islands of the capacitor

  • finger_count: ‘5’ – Number of fingers in the capacitor

  • cap_distance: ‘50um’ – Distance of the north point of the capacitor from the north pin

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

CapNInterdigital.TOOLTIP

CapNInterdigital.class_name

the full module name with the class name.

CapNInterdigital.component_metadata

Component metadata

CapNInterdigital.default_options

Default connector options

CapNInterdigital.design

Return a reference to the parent design object.

CapNInterdigital.id

The unique id of component within a design.

CapNInterdigital.logger

The Qiskit Metal Logger.

CapNInterdigital.name

Name of the component.

CapNInterdigital.options

A dictionary of the component-designer-defined options.

CapNInterdigital.pin_names

The names of the pins.

CapNInterdigital.qgeometry_types

Get a list of the names of the element tables.

CapNInterdigital.pins

Dictionary of pins.

CapNInterdigital.metadata

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

CapNInterdigital.status

Stores the latest status of the component.

Methods

CapNInterdigital.add_dependency(parent, child)

Add a dependency between one component and another.

CapNInterdigital.add_pin(name, points, width)

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

CapNInterdigital.add_qgeometry(kind, geometry)

Add QGeometry.

CapNInterdigital.connect_components_already_in_design(...)

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

CapNInterdigital.delete()

Delete the QComponent.

CapNInterdigital.get_pin(name)

Interface for components to get pin data.

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

CapNInterdigital.make()

Build the component.

CapNInterdigital.parse_options([options])

Parse the options, converting string into interpreted values.

CapNInterdigital.parse_value(value)

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

CapNInterdigital.populate_to_track_table_usage()

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

CapNInterdigital.qgeometry_bounds()

Fetched the component bound dict_value.

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

CapNInterdigital.qgeometry_list([element_type])

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

CapNInterdigital.qgeometry_plot([ax, plot_kw])

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

CapNInterdigital.qgeometry_table(element_type)

Returns the entire element table for the component.

CapNInterdigital.rebuild()

Builds the QComponent.

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

param thin:

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