# Samples

## Gallery

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/7b8483bbdf7c08d16dd62d8e2e012ebd/samples-1.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/43fc9fe8a96fa93e575f613a5458e08c/samples-1.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/293013ba35d4f0611007ce51e745b0b9/samples-1.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/5707ddccce38cb31285f5f08ee873031/samples-1.png))

![image](_build/html/plot_directive/samples-1.svg)![image](_build/html/plot_directive/samples-1_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/c4f8c0dd5e1fad85b88a32f16511213d/samples-2.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/5ce91034e3b1567e45bb2d0b4c0a8488/samples-2.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/98eba2ad6f05a5dee43b6d4169463115/samples-2.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/8dc7cf36578e823960279050865fb898/samples-2.png))

![image](_build/html/plot_directive/samples-2.svg)![image](_build/html/plot_directive/samples-2_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/bd7b033748c8879d5b9ab15d9613e7ff/samples-3.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/97f3c46a58c682e4026a5ad608cc1889/samples-3.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/f6c025bf3d8e6f160c4a38a1baee0b54/samples-3.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/0ca795edda230e3f5bb4d5a1834d059f/samples-3.png))

![image](_build/html/plot_directive/samples-3.svg)![image](_build/html/plot_directive/samples-3_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/812d142f74412340c7f75440a4d89d09/samples-4.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/c5a41193005c438e15ba916884479eec/samples-4.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/6be6b712328cbec2042f31cb7a342a74/samples-4.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/20c65bc9e68f4e2c1315d97a623259db/samples-4.png))

![image](_build/html/plot_directive/samples-4.svg)![image](_build/html/plot_directive/samples-4_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/2217093ee7e202691136212dded2a49d/samples-5.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/a1b3252680755d6552e962923b99cb35/samples-5.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/76567b5290e833255934c95f4bac5d32/samples-5.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/b7f4b793aa161b11ccadc485e71c6db2/samples-5.png))

![image](_build/html/plot_directive/samples-5.svg)![image](_build/html/plot_directive/samples-5_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/9caad5022501b2d606b3439f0fcd203d/samples-6.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/febee679d7e82382028002102a8eba9a/samples-6.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/cd7df1552f693a83ab61b944094ec3b9/samples-6.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/723ca7a9c908544ea78de4e45b2e9542/samples-6.png))

![image](_build/html/plot_directive/samples-6.svg)![image](_build/html/plot_directive/samples-6_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/7337a5ff40cd23ceb99912706035d622/samples-7.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/6ae36e1a56454576a85dffc00c8a8895/samples-7.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/fef2e10f6dcec335df00b120c6a7d7dc/samples-7.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/517ff71ce946f532f4a151ec6688c595/samples-7.png))

![image](_build/html/plot_directive/samples-7.svg)![image](_build/html/plot_directive/samples-7_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/1684f8c28f243f1e3b9770dd63c786ec/samples-8.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/5d0a9ff463982c0b379d0fd6ad07ae19/samples-8.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/b1ac720b0c5f3d37cf8fa9263cf317cb/samples-8.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/e47c9fe3a467e53a6dd79fa9b7f169f9/samples-8.png))

![image](_build/html/plot_directive/samples-8.svg)![image](_build/html/plot_directive/samples-8_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/017781489a42b4dc2b81bc44145ff8e7/samples-9.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/54b4c76719480e87a1fe2b694b927cff/samples-9.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/ec0652548262cd1f93495876289faada/samples-9.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/2c8f6f07de68c99f8300d682b9d1cec1/samples-9.png))

![image](_build/html/plot_directive/samples-9.svg)![image](_build/html/plot_directive/samples-9_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/0b3ab499614ab7e42b7da71501e0b91d/samples-10.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/379b4ec4972de3c758445457d650e74a/samples-10.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/46d378904159da1ffd0a8e0abba3c216/samples-10.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/339bc7dcc887c58a5f6051bbc29148b8/samples-10.png))

![image](_build/html/plot_directive/samples-10.svg)![image](_build/html/plot_directive/samples-10_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/609896d544690f9fb6f0b9f6abbd578a/samples-11.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/b94ed1e391f3bac707643e7e2205092a/samples-11.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/03ebffa1ea042266ff9f52b8ce3ae090/samples-11.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/88460b22ce5220ee99d6ab5054a24f0a/samples-11.png))

![image](_build/html/plot_directive/samples-11.svg)![image](_build/html/plot_directive/samples-11_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/70f6a99b9385c4f2892ae6c116d063bc/samples-12.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/49baa43965dddb1a1f0458f2aeef0b81/samples-12.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/a2d1c03faa4c469d788ba51a16478a25/samples-12.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/1de341278d18f3c5a14efed291fd4d42/samples-12.png))

![image](_build/html/plot_directive/samples-12.svg)![image](_build/html/plot_directive/samples-12_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/b6f5c2404acf83394db9db2d3055474e/samples-13.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/4c1b7cc6c8dd5af1ffd6df29e65ae171/samples-13.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/17d7879e0bd43cc93ee81cd80f42772c/samples-13.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/f970e90457382e03d96274c814b1e2a7/samples-13.png))

![image](_build/html/plot_directive/samples-13.svg)![image](_build/html/plot_directive/samples-13_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/d71bcd1db7cf9739c5d1ecb535bec810/samples-14.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/1c86ba913cee22d3d1cf0e91e15ff426/samples-14.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/56fb970b9d176461a8b3eb6b8894ac4e/samples-14.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/5553641e7820d7b7eb3827302e58dcd0/samples-14.png))

![image](_build/html/plot_directive/samples-14.svg)![image](_build/html/plot_directive/samples-14_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/2b00dd40e85100b876c656d91e44110d/samples-15.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/c7dbbc3cacdad4e07f2aaf6a209f6167/samples-15.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/58defd4a14a6249790452d75a84b74ea/samples-15.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/3e462a1f24c71252e3616870e28e2491/samples-15.png))

![image](_build/html/plot_directive/samples-15.svg)![image](_build/html/plot_directive/samples-15_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/c6c7dc3e7d6003e8728006b9eb6b585a/samples-16.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/baa380b5028a2fdc8f6e16672a569aa0/samples-16.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/a4654d8e7955605e0a422d5a0c39082b/samples-16.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/a4243c62ad2dcb0fa14ce2bc1db99e0a/samples-16.png))

![image](_build/html/plot_directive/samples-16.svg)![image](_build/html/plot_directive/samples-16_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/f3d5b96789de80f4f8bd83342b60d3a8/samples-17.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/6533ecee2a236663b643d6026c340595/samples-17.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/4236937efa28d7a7c0abdcf18e0e6c41/samples-17.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/e534cbd7d7742b576782d71565e673a9/samples-17.png))

![image](_build/html/plot_directive/samples-17.svg)![image](_build/html/plot_directive/samples-17_dark.svg)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/6f20f6d6b12d80bf3faba80712cb3a3b/samples-18.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/c384975776c0c76fdcaf5829b7e3e0f4/samples-18.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/68a49d785d76296568a431b6bb2ccdb6/samples-18.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/6faa4f44caea110650c73f182bdd0ac1/samples-18.png))

![image](_build/html/plot_directive/samples-18.svg)![image](_build/html/plot_directive/samples-18_dark.svg)

## API Reference

### qpdk.samples.all_cells.all_cells

### qpdk.samples.all_cells.all_cells(spacing=200.0, \*\*kwargs)

Create a component containing all cells from qpdk.PDK.cells.

Instantiates and arranges all available cells efficiently. Cells that
fail to instantiate are skipped with a warning message.

* **Parameters:**
  * **spacing** ([*float*](https://docs.python.org/3/builtins/functions.html#float)) – Spacing between cells in micrometers (default: 200.0).
  * **\*\*kwargs** – Additional arguments passed to gf.pack. If `max_size` is not
    provided, it defaults to `(None, None)` so packing is unconstrained
    in both dimensions unless the caller explicitly sets limits.
* **Returns:**
  Component containing all successfully instantiated cells.
* **Return type:**
  [*Component*](https://gdsfactory.github.io/gdsfactory/api/#gdsfactory.Component)

### Example

```pycon
>>> import qpdk
>>> c = qpdk.cells.all_cells()
>>> c.show()  # Display all cells in KLayout
```

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/43857712576da4a54b346a593f140036/samples-19.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/1563716bc67849ada64e673cefa05175/samples-19.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/8e72c54c7cdf2532ca8d4de3d06abcff/samples-19.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/291e0362769cdc8e6ef9ae681e53f45e/samples-19.png))

![image](_build/html/plot_directive/samples-19.svg)![image](_build/html/plot_directive/samples-19_dark.svg)

### qpdk.samples.filled_resonator.filled_quarter_wave_resonator

### qpdk.samples.filled_resonator.filled_quarter_wave_resonator()

Returns a quarter wave resonator filled with magnetic vortex trapping rectangles.

This sample demonstrates how to use the fill_magnetic_vortices helper function
to add small rectangles that trap magnetic vortices in superconducting quantum
circuits.

* **Returns:**
  A quarter wave resonator with fill rectangles for vortex trapping.
* **Return type:**
  Component

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/cd3d754b0b76662a3cbc7d248869a8dd/samples-20.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/a7a6c8f2e6a63c54f82af754ec2b6701/samples-20.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/cb20dff4e29355cde648c39ec46dd1a6/samples-20.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/678cd9fdd39d1b711907cae1c7777d05/samples-20.png))

![image](_build/html/plot_directive/samples-20.svg)![image](_build/html/plot_directive/samples-20_dark.svg)

### qpdk.samples.filled_test_chip.filled_flipmon_test_chip

### qpdk.samples.filled_test_chip.filled_flipmon_test_chip()

Returns a qubit test chip filled with magnetic vortex trapping rectangles.

Roughly corresponds to the sample in [[TSK+25](#id68)].

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/9e13fbaecacb302ee8544526caa3cf61/samples-21.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/3106995b7a9840fcba9dd7b7a204f594/samples-21.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/6f042f0db617c928dc4a4d44e80867be/samples-21.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/b936378df974eea068e89725b1adfe0c/samples-21.png))

![image](_build/html/plot_directive/samples-21.svg)![image](_build/html/plot_directive/samples-21_dark.svg)

### qpdk.samples.filled_test_chip.filled_qubit_test_chip

### qpdk.samples.filled_test_chip.filled_qubit_test_chip(yaml_path=PosixPath('/home/runner/work/quantum-rf-pdk/quantum-rf-pdk/qpdk/samples/qubit_test_chip.pic.yml'))

Returns a qubit test chip filled with magnetic vortex trapping rectangles.

Roughly corresponds to the sample in [[TSK+25](#id68)].

* **Parameters:**
  **yaml_path** ([*str*](https://docs.python.org/3/builtins/stdtypes.html#str) *|* [*Path*](https://docs.python.org/3/library/pathlib.html#pathlib.Path))

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/ce825c08f3032caa1a377b456c6d0d88/samples-22.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/0a8937066138f96abc57576ea60dd081/samples-22.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/731256829e7c5846681c3efb8264ab84/samples-22.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/c0407b5f0e89ef066f02a0140d3fa738/samples-22.png))

![image](_build/html/plot_directive/samples-22.svg)![image](_build/html/plot_directive/samples-22_dark.svg)

### qpdk.samples.flipmon_test_chip.flipmon_test_chip

### qpdk.samples.flipmon_test_chip.flipmon_test_chip()

Layout of the flipmon test chip, read from its `.pic.yml` netlist.

The full chip layout is defined declaratively in the sample’s netlist;
this factory only reads that file, so editing the netlist edits the
layout. The materialized name matches the `.pic.yml`/GDS stem because
elvis resolves the top cell from the GDS file name.

* **Returns:**
  The materialized sample component.
* **Return type:**
  [*Component*](https://gdsfactory.github.io/gdsfactory/api/#gdsfactory.Component)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/3140b254f8a88b6a3eea2eded24f9d34/samples-23.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/81c9440eda3d33cc1bdaadfff607aaf6/samples-23.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/43875edef09e012d73e4caa89fed7def/samples-23.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/8550b02b6599e0165b51edeb746bc5e6/samples-23.png))

![image](_build/html/plot_directive/samples-23.svg)![image](_build/html/plot_directive/samples-23_dark.svg)

### qpdk.samples.qubit_test_chip.qubit_test_chip

### qpdk.samples.qubit_test_chip.qubit_test_chip()

Layout of the qubit test chip, read from its `.pic.yml` netlist.

The matching `.gsch` remains the source for licensed schematic flows.

* **Returns:**
  The materialized sample component.
* **Return type:**
  [*Component*](https://gdsfactory.github.io/gdsfactory/api/#gdsfactory.Component)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/d9f38a95d203ae89e580c46f6177a830/samples-24.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/ef6f67927f7550c664d84015c4253076/samples-24.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/f29a6a0a642537a37c5ce0f8dfe8b0d7/samples-24.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/7631cf9e344036d63a1bf73e3e7334c9/samples-24.png))

![image](_build/html/plot_directive/samples-24.svg)![image](_build/html/plot_directive/samples-24_dark.svg)

### qpdk.samples.resonator_test_chip.filled_resonator_test_chip

### qpdk.samples.resonator_test_chip.filled_resonator_test_chip()

Creates a resonator test chip filled with magnetic vortex trapping holes.

This version includes the complete resonator test chip layout with additional
ground plane holes to trap magnetic vortices, improving the performance of
superconducting quantum circuits. Includes chip edge components with extra
y-padding to keep resonators away from the chip edges.

* **Returns:**
  Test chip with ground plane fill patterns and chip edges.
* **Return type:**
  Component

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/93269eb056d156863142d800768e381a/samples-25.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/ceb67f999e4aa1d7500cae94b2eb96a9/samples-25.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/253b12334b831a24c5f273a00d60f498/samples-25.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/b9aa647a3288993b451c1fb01c4015d1/samples-25.png))

![image](_build/html/plot_directive/samples-25.svg)![image](_build/html/plot_directive/samples-25_dark.svg)

### qpdk.samples.resonator_test_chip.resonator_test_chip_python

### qpdk.samples.resonator_test_chip.resonator_test_chip_python(probeline_length=9000.0, probeline_separation=1000.0, resonator_length=4000.0, coupling_length=200.0, coupling_gap=4.0)

Creates a resonator test chip with two probelines and 16 resonators.

The chip features two horizontal probelines running west to east, each with
launchers on both ends. Eight quarter-wave resonators are coupled to each
probeline, with systematically varied lengths for characterization studies.

* **Parameters:**
  * **probeline_length** ([*float*](https://docs.python.org/3/builtins/functions.html#float)) – Length of each probeline in µm.
  * **probeline_separation** ([*float*](https://docs.python.org/3/builtins/functions.html#float)) – Vertical separation between probelines in µm.
  * **resonator_length** ([*float*](https://docs.python.org/3/builtins/functions.html#float)) – Nominal resonator length in µm. Resonator lengths are
    varied around this value to separate their resonance frequencies.
  * **coupling_length** ([*float*](https://docs.python.org/3/builtins/functions.html#float)) – Length of coupling region between resonator and probeline in µm.
  * **coupling_gap** ([*float*](https://docs.python.org/3/builtins/functions.html#float)) – Gap between resonator and probeline for coupling in µm.
    The 4 µm default broadens the resonance notches enough for a
    1001-point SAX sweep from 4 to 10 GHz to resolve all eight per line.
* **Returns:**
  A gdsfactory component containing the complete test chip layout.
* **Return type:**
  Component

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/5b5925a1cae2c90e13c26778b3333c6e/samples-26.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/df1f04c68d1af9f592131113168fedc1/samples-26.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/bfd6f3eae9b915cc70742f918f21f0f1/samples-26.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/b7dd2e962f119404102eacb30491b962/samples-26.png))

![image](_build/html/plot_directive/samples-26.svg)![image](_build/html/plot_directive/samples-26_dark.svg)

### qpdk.samples.resonator_test_chip_yaml.resonator_test_chip_yaml

### qpdk.samples.resonator_test_chip_yaml.resonator_test_chip_yaml()

Layout of the resonator test chip, read from its `.pic.yml` netlist.

The full chip layout is defined declaratively in the sample’s netlist;
this factory only reads that file, so editing the netlist edits the
layout. The materialized name matches the `.pic.yml`/GDS stem because
elvis resolves the top cell from the GDS file name.

* **Returns:**
  The materialized sample component.
* **Return type:**
  [*Component*](https://gdsfactory.github.io/gdsfactory/api/#gdsfactory.Component)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/53b781c10d3c45cd496cb4a321c7e662/samples-27.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/4a16af1d4f3bee49a07fe3f5fd4641a1/samples-27.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/5fa4f89e029d42ca741b06d0af04c41d/samples-27.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/10c6eabc75b8bb6e3a5c545d660a0213/samples-27.png))

![image](_build/html/plot_directive/samples-27.svg)![image](_build/html/plot_directive/samples-27_dark.svg)

### qpdk.samples.sample0.sample0_hello_world

### qpdk.samples.sample0.sample0_hello_world()

Returns a component with ‘Hello world’ text and a rectangle.

* **Return type:**
  [*Component*](https://gdsfactory.github.io/gdsfactory/api/#gdsfactory.Component)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/7d7f1739a6d7fef68e9176c33d528047/samples-28.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/892854af8c20fc5e61e5c1dbe4bed9ba/samples-28.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/644086cd73e16e3543ecd18056d00f63/samples-28.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/db8f46311e9c8c4654720f569aea9db2/samples-28.png))

![image](_build/html/plot_directive/samples-28.svg)![image](_build/html/plot_directive/samples-28_dark.svg)

### qpdk.samples.sample1.sample1_connect

### qpdk.samples.sample1.sample1_connect()

Returns a component with connected waveguides.

* **Return type:**
  [*Component*](https://gdsfactory.github.io/gdsfactory/api/#gdsfactory.Component)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/16fa4baf7989e9bd8a30ef5b50595d83/samples-29.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/d59445f11fbe46c10e66316d5591ec6d/samples-29.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/2646eae918c46e3b831ab86a6a33f90e/samples-29.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/79f11d93d5e32c62b0c164ab4d6c07cf/samples-29.png))

![image](_build/html/plot_directive/samples-29.svg)![image](_build/html/plot_directive/samples-29_dark.svg)

### qpdk.samples.sample2.sample2_remove_layers

### qpdk.samples.sample2.sample2_remove_layers()

Returns a component with ‘Hello world’ text and a rectangle.

* **Return type:**
  [*Component*](https://gdsfactory.github.io/gdsfactory/api/#gdsfactory.Component)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/2cbd3c5431577e54028ee2b28cd3f315/samples-30.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/717ebd6b6b0234aed62eb942ec3435e4/samples-30.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/5f03a04eb5ae94265e8de2dd1ba021a1/samples-30.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/33d0ef272b03b8d7ed3bf40809ebf4f4/samples-30.png))

![image](_build/html/plot_directive/samples-30.svg)![image](_build/html/plot_directive/samples-30_dark.svg)

### qpdk.samples.sample3.sample3_grid

### qpdk.samples.sample3.sample3_grid()

Returns a component with a grid of text elements.

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/4c5f1e8e6199ce143041bf34e83183d0/samples-31.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/6da72ae35bee152c47b7620a90052485/samples-31.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/b6e86b7b600766d391cbb5c79c8c1436/samples-31.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/2e48ab982c3cd6766c75309483f220a2/samples-31.png))

![image](_build/html/plot_directive/samples-31.svg)![image](_build/html/plot_directive/samples-31_dark.svg)

### qpdk.samples.sample4.sample4_pack

### qpdk.samples.sample4.sample4_pack()

Returns a component with a packed set of ellipses.

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/69e28c6e458de5a799761016d7f8f903/samples-32.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/7ece6ab3256a731590e40928448cc150/samples-32.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/440b46a2cd33171014bebb4e13355842/samples-32.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/9bedb0beaaf6c22491788328c9118f47/samples-32.png))

![image](_build/html/plot_directive/samples-32.svg)![image](_build/html/plot_directive/samples-32_dark.svg)

### qpdk.samples.sample5.sample5_path

### qpdk.samples.sample5.sample5_path()

Returns a component with a path made of different segments.

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/cf7a76cda21aa8ada456d3e75ecfcffb/samples-33.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/bba6f7b96f1af55b792586850e91a27d/samples-33.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/da5d1af9ceaf4d71359bd5bbe735deb0/samples-33.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/afcccb8fd9cf4d3cdc8f6f5caa255360/samples-33.png))

![image](_build/html/plot_directive/samples-33.svg)![image](_build/html/plot_directive/samples-33_dark.svg)

### qpdk.samples.sample6.sample6_cross_section

### qpdk.samples.sample6.sample6_cross_section()

Returns a component with a path made of different segments.

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/e415f4b49a11a614682d64d2f929a04e/samples-34.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/94425ae51b2d2cbd91403bf6360248c2/samples-34.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/945289d103e14ab639dd7ec90f632bbb/samples-34.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/7f4863d1683513bb30a6dcc896ff1346/samples-34.png))

![image](_build/html/plot_directive/samples-34.svg)![image](_build/html/plot_directive/samples-34_dark.svg)

### qpdk.samples.sample_to_3d.sample_to_3d

### qpdk.samples.sample_to_3d.sample_to_3d()

Returns a transmon with a resonator and chip edge for 3D visualization.

This function demonstrates the full workflow of adding logical components,
filling with magnetic vortices, adding a simulation area, and finally
applying the additive metal transformation for mask generation and 3D visualization.

* **Return type:**
  [*Component*](https://gdsfactory.github.io/gdsfactory/api/#gdsfactory.Component)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/94eab517ebd429422dfb3126850e7022/samples-35.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/9564c6144b1924013783fc088f1f7b2e/samples-35.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/5425b77b92e061f9472b3666602a2560/samples-35.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/fc09763623133e455382361cb3b0df38/samples-35.png))

![image](_build/html/plot_directive/samples-35.svg)![image](_build/html/plot_directive/samples-35_dark.svg)

### qpdk.samples.simulate_resonator.resonator_simulation

### qpdk.samples.simulate_resonator.resonator_simulation(coupling_gap=12.0)

Create a resonator simulation layout with launchers and CPW routes.

* **Returns:**
  The resonator simulation component.
* **Parameters:**
  **coupling_gap** ([*float*](https://docs.python.org/3/builtins/functions.html#float))
* **Return type:**
  [*Component*](https://gdsfactory.github.io/gdsfactory/api/#gdsfactory.Component)

([`Source code`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/7c756ceee4f3b657cdb348b64e04e352/samples-36.py), [`svg`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/9d3d57c375802ab87feedbbc8da56feb/samples-36.svg), [`pdf`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/06f9a94de6a1d6cf1568595f0f90eeff/samples-36.pdf), [`png`](https://gdsfactory.github.io/quantum-rf-pdk/_downloads/4869a2ebef7bae90fb267cb4a821e1e9/samples-36.png))

![image](_build/html/plot_directive/samples-36.svg)![image](_build/html/plot_directive/samples-36_dark.svg)

## References
