metal:ResonatorCoilRect

A rectangle spiral resonator based on length input. The X dimension is

Source: Metal (Qiskit Metal). Category: resonator. Module: qiskit_metal.qlibrary.lumped.resonator_coil_rect.

See also the catalog.

Pins

Pins of metal:ResonatorCoilRect

Pin image (default parameters). Light = metal, dark = etched gap, colours = junction layers. A red dot and arrow is a pin and its direction (out of the cell); the red bar is the CPW width a + 2 b. Blue dot = a pin without direction. Units: µm.

pin

x (µm)

y (µm)

direction (°)

a (µm)

b (µm)

purpose

spiralPin

-149.708

-24.5

180

1

0.6

LOM node res

a, b: CPW centre width and gap where the pin declares them (– = not declared). Position and direction are in the cell’s own frame (at=(0, 0), rot=0).

Parameters

name

default

unit

description

a

10

μm

Width of center conductor

b

6

μm

Width of gap

r

100

μm

Turn radius

junction_type

"Metal"

–

Junction as fabricated: Metal footprint, or a trilayer cell placed on each junction line

junction_params

"{}"

–

Trilayer junction cell parameters (JSON dict, e.g. lj_nH)

metal_class

"ResonatorCoilRect"

–

Quantum Metal component

options

"{}"

–

Metal options as JSON (bare numbers on length options are µm)

open_pins

""

–

Pins left open (comma-separated): keep Metal’s etch beyond them, as drawn with no route attached

Electrically relevant parameters (sizes, gaps, junction, ports) come first, the rest follows.

LOM model

The cell contributes to the lumped model:

  • no lumped branches

line

node

length (µm)

a (µm)

b (µm)

ends

X

res

2000

1

4

open / open

Nodes: res.

Simulation export notes

  • C6: eigenmode 50 Ω edge port without a polygon (box edge on a bend / taper / narrow line) (status: fixed; fix in sim_tools/builder.py (straighten_box, edge_port_ok, crossing_square))

How to use

In Python:

from quantcore_circuits.designer import Designer

d = Designer("demo", box=(0, 0, 7500, 7500))
d.add("U1", "metal:ResonatorCoilRect", at=(3750, 3750), a=10)   # parameters: see the table above
d.add("PAD", "BondPad", at=(1125, 3750), rot=270)   # a launcher to connect to
d.route("L1", "PAD.a", "U1.spiralPin")                # a CPW from the pad to the pin

Pin names go into d.route(...) as INSTANCE.pin, and into snap= / to= when placing. From the shell: qcc components metal:ResonatorCoilRect lists the pins; add --schema for the parameters.

In KLayout: Quantcore panel ▸ Components ▸ double-click the cell, then click on the layout to place it. Rotate and mirror before the click; use Connect on two pins to route.