quantcore_circuits.lom.builder

Layout → LOM: compose the components’ LOM fragments along the design’s connectivity into a circuit.json.

Mapping (see quantcore_circuits.lom.fragment for the component side):

layout

lumped model

component

its fragment: nodes (FEM islands), elements, port → node map

cpw route port ↔ port

a wire: both ports’ nodes become one conductor (named after the route when it joins pads, e.g. the feedline FL)

route port → hanger / short free end

λ/4 resonator TLres from the port’s node to ground (+ HANGER coupling element to the feedline node: coupled-line κ)

route port → open free end

λ/2 resonator (open–open) to ground

route free end → hanger (no port)

a resonator on its own node <route>.line (island <route>): λ/4 when exactly one end is shorted (term=0 / end="short"), else λ/2

meander route port ↔ port

λ/2 bus resonator: both end nodes join one resonator node

route on a control:* port

control line (flux bias of that qubit’s SQUID), no circuit element; the conductor is grounded at the qubit, so its pad’s port is dropped

snap placement (gap 0)

the two ports’ nodes join (galvanic)

design.couplings

C / L between the resolved ends (an end may be a route: its conductor); a value-less C from a cell’s coupled section (Fragment.hangers) is a HANGER

line end on a zero-length termination

wired / snapped to it, or drawn on its body: the line end takes its termination (CpweOpenEnd: open)

component lines joined end to end

one line (a chain: route between two line ports, wire / snap between them): its two free ends decide wire / λ/4 / λ/2, its length is the sum; a pass-through cell (taper, Line.through) only extends it (one Z0: the width step is not modelled), the TLres takes the main line’s or route’s name

Values are component estimates (calibration, CPW formulas, coupled-line κ); quantcore_circuits.circuit. fill.fill() replaces capacitances by FEM C-matrix values where the island labels match. Element names follow the convention used everywhere else: C_<Q>, J_<Q>, Cg_<Q>_<claw>, Cc_<Q>_<claw>, <route> (TLres), K_<route> (hanger), Port_<pad>.

Attributes

Classes

Functions

lom_from_design(source[, select, name, plan]) → LomBuild

Build the lumped circuit of source (all of it, or the instances/routes in select).

Module Contents

class quantcore_circuits.lom.builder.LomBuild
model: quantcore_circuits.circuit.schema.CircuitModel
notes: list[str] = []
port_map: dict[str, str]
unconnected: list[str] = []
quantcore_circuits.lom.builder.lom_from_design(source, select: list[str] | None = None, name: str | None = None, plan=None) → LomBuild

Build the lumped circuit of source (all of it, or the instances/routes in select).

quantcore_circuits.lom.builder.DEFAULT_TOL
quantcore_circuits.lom.builder.DRIVE_C_FF = 0.1