Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 21, 2025

Adds simulation sample for double pad transmon qubits with ports on both pads, following the pattern established in simulate_resonator.py.

Implementation

  • New file: qpdk/samples/simulate_double_pad_qubit.py
    • Uses double_pad_transmon component as the DUT
    • Exposes left_pad_port and right_pad_port for two-port S-parameter measurements
    • Includes SIM_AREA layer for simulation boundary definition
    • Omits probeline launchers per requirements

Usage

from qpdk.samples.simulate_double_pad_qubit import double_pad_qubit_simulation

# Default: 250x400μm pads, 15μm gap
c = double_pad_qubit_simulation()

# Custom geometry
c = double_pad_qubit_simulation(pad_size=(300.0, 500.0), pad_gap=20.0)

Configuration

  • Frequency sweep: 0.1-8 GHz (typical transmon range)
  • Dual-port simulation mode (only_one_port=False)
  • STL export enabled for 3D EM solvers
  • Automatically registered in test suite via existing infrastructure
Original prompt

Create a double pads qubit simulation sample similar to that of qpdk/samples/simulate_resonator.py. You don't need to add a probeline but add simulation ports to both of the double pads.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Add double pads qubit simulation sample Add double pad qubit simulation sample Nov 21, 2025
Copilot AI requested a review from nikosavola November 21, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants