Simulation pathways

A Quantum Metal design reaches an electromagnetic solver along one of several paths. Which one to take depends on what you need to compute and what you can install. The tutorials use all of them, often on the same kind of device, so a result from one path can be checked against another.

Ansys HFSS / Q3D

Eigenmodes, EPR, S-parameters and LOM. Needs a license.

Simulate with Ansys
gmsh + ElmerFEM

Open-source capacitance matrices for the LOM.

4.19 Analyze a Transmon Qubit using ElmerFEM
gmsh + scikit-fem

Pure-Python eigenmodes and couplings. Only pip.

4.43 Mesh and Solve the 10 × 10 Processor
Palace

Large full-wave models on clusters, through SQDMetal. Not built in yet.

https://github.com/sqdlab/SQDMetal

What each computes and needs

Pathway

Computes

Install

Ansys HFSS / Q3D (commercial)

eigenmodes and energy participation (EPR); driven S/Z/Y parameters; capacitance matrices for the lumped-oscillator model (LOM)

Ansys Electronics Desktop with a license; pip install "quantum-metal[ansys]"

gmsh + ElmerFEM (open source)

capacitance matrices (electrostatics) for LOM

pip install "quantum-metal[mesh]" plus the ElmerFEM binaries (ElmerGrid, ElmerSolver on PATH; see README_Open_FEM_Stack.md in the repository)

gmsh + scikit-fem (open source, pure Python)

eigenmodes with lumped junction inductors; EPR, avoided-crossing, induced-EMF and impedance-matrix couplings; port impedance matrices; capacitance matrices

pip install "quantum-metal[skfem]" pymetis (pymetis is required only for 4.46)

AWS Palace via SQDMetal (open source)

eigenmodes, capacitance, driven and inductance studies on MPI; lumped and wave ports, EPR

SQDMetal (from GitHub) and the Palace solver (MPI binary: build from source or a container). pypalace is another Palace toolkit with a Quantum Metal gmsh export.

Where each lives in Quantum Metal

Pathway

API

Tutorials

Ansys HFSS / Q3D

Renderers QHFSSRenderer, QQ3DRenderer and the pyaedt versions QHFSSEigenmodePyaedt, QQ3DPyaedt. Simulations EigenmodeSim, LumpedElementsSim, ScatteringImpedanceSim. Quantization LOManalysis, EPRanalysis.

3.3; Part 4, Ansys; A.4

gmsh + ElmerFEM

QGmshRenderer, QElmerRenderer

3.5; 4.19; A.4; the two-qubit cell of the 17-qubit chip

gmsh + scikit-fem

qiskit_metal.analyses.fem (the solver; not yet a renderer) and qiskit_metal.analyses.em.package_modes (the analytic models)

4.41 to 4.46; Part 4, open source

AWS Palace via SQDMetal

none yet: SQDMetal takes a QDesign directly. A native renderer_name="palace" path is being designed; see the RFC in sqdlab/SQDMetal#67

none yet

Choosing a path

  • Eigenmodes, EPR, S-parameters, and an Ansys license: HFSS, the most complete path in Quantum Metal today.

  • Capacitance and LOM without a license: ElmerFEM for larger models (it runs in parallel and supports higher-order elements); the scikit-fem solver for small ones or where installing binaries is not possible.

  • Eigenmodes and couplings without a license: the scikit-fem solver, for cells and arrays of simple qubits. Tutorials 4.43 to 4.46 reproduce a published HFSS study of a 10 × 10 transmon array to within a few percent.

  • Large full-wave models, wave ports, losses, clusters: Palace, through SQDMetal today; natively once the integration above lands.

  • Teaching, Colab, continuous integration: the scikit-fem solver needs only pip.

What the open-source paths do not do yet

  • ElmerFEM is connected for electrostatics only; its eigenmode and electromagnetic-wave solvers are not wired into Quantum Metal yet.

  • The scikit-fem solver uses lowest-order elements and zero-thickness metal, handles metal islands and junction lines but not ground planes with cutouts or CPWs, and runs in one process (up to about a million unknowns).

  • Neither has wave ports or losses (Palace does).

Plans

The roadmap sections “Open FEM stack” and “Solver backends” describe how these paths are meant to meet in Quantum Metal: shared, solver-neutral abstractions in core (ports, mesh-size control, named physical groups, boundary conditions, net naming, and a declared list of what each backend supports) that ElmerFEM, the scikit-fem solver, Palace and — in principle — Ansys all read, reached from the same simulation classes by renderer name; and how solver results are tested. The Palace design is discussed in sqdlab/SQDMetal#67. Design notes for the scikit-fem solver: docs/architecture/open_fem_scikit_fem.md in the repository.