Validation
Checked against scqubits, and here is by how much
Monium's engine is a port of scqubits, so what matters is where it agrees with scqubits and where it does not. Every number below comes from the comparison suites in Monium's own repository, run against stored scqubits reference data.
scqubits 4.3.1+gc5fdea9c0.d20260609 · Monium 7020ea3 · generated 26 November 2026
That scqubits string is a development checkout 248 commits past the 4.3.1 tag, not the release on PyPI — so pip install scqubits==4.3.1 will not reproduce these numbers exactly.
Energy levels
The lowest five levels, compared point by point across a parameter grid. For the two transmons Monium and scqubits solve the same problem in the same basis, so agreement is at the level of floating-point noise — differences around 10⁻¹⁰ GHz, which is a tenth of a hertz.
Transmon
- Reference
- scqubits Transmon, charge basis, ncut = 80
- Monium
- charge basis, ncut = 30 (app default)
- Grid
- E_J/E_C ∈ {0.3, 0.7, 1, 3, 10, 30, 50, 100, 200} × E_C ∈ {0.2, 0.3, 1} GHz × n_g ∈ {0, 0.25, 0.5}, plus n_g = 0.499 over the six ratios ≥ 3 only (27 + 27 + 27 + 18 = 99)
- Points compared
- 99
- Median error
- 2.8 × 10⁻¹¹ GHz
- Worst error
- 1.1 × 10⁻¹⁰ GHz at E_J = 200, E_C = 1, n_g = 0.5
Tunable Transmon
- Reference
- scqubits TunableTransmon, charge basis, ncut = 80
- Monium
- charge basis, ncut = 30 (app default)
- Grid
- E_Jmax ∈ {5, 20, 50} × E_C ∈ {0.2, 1} × d ∈ {0, 0.1, 0.5} × Φ ∈ {0, 0.2, 0.4, 0.5} × n_g ∈ {0, 0.3}
- Points compared
- 144
- Median error
- 3.2 × 10⁻¹¹ GHz
- Worst error
- 1.1 × 10⁻¹⁰ GHz at E_Jmax = 50, E_C = 1, d = 0.5, Φ = 0.2, n_g = 0
Fluxonium is solved a different way, and the difference shows
scqubits uses a harmonic-oscillator basis; Monium uses a finite-difference grid in φ, so the two do not agree to machine precision and are not expected to. The error is discretization error, and it falls as the grid is refined.
| Grid points | Compared | Median | Worst |
|---|---|---|---|
| 80 — the app default | 192 | 19 MHz | 248 MHz |
| 200 — the slider maximum | 192 | 0.51 MHz | 6.8 MHz |
At the default grid that is a real error, not a rounding one — a median of 19 MHz, and 248 MHz at the worst point tested. Its convergence indicator is calibrated against these same comparisons, under the rule that no level shown as converged may be off by more than 1% of its isolation gap. Across 1,152 cells spanning six grid counts, that rule was violated zero times — 211 cells converged, 257 marginal, 684 reported as under-converged rather than accepted.
Matrix elements
The largest disagreement in |⟨i|Ô|j⟩| over the lowest five levels. The operators are the charge number n̂, cos φ̂ and sin φ̂, with φ̂ itself added for Fluxonium. Moduli only: each eigenvector carries an arbitrary phase, so signs are not comparable between two solvers and are not compared here.
The transmon figures agree to about six floating-point epsilons, but they are a weaker result than the spectra above: here both sides diagonalize the same ncut = 30 matrix, so what is checked is the eigensolver port rather than the basis. Fluxonium again carries grid error, and the suite additionally requires that error to fall by at least a factor of 25 between grid 80 and grid 200 — pure h⁴ scaling would give about 39, and the measured ratio is about 38.
| Qubit | Parameter points | Comparisons | Worst | Tolerance |
|---|---|---|---|---|
| Transmon | 4 | 12 | 1.3 × 10⁻¹⁵ | 10⁻⁸ |
| Tunable Transmon | 3 | 9 | 1.3 × 10⁻¹⁵ | 10⁻⁸ |
| Fluxonium, grid 80 | 4 | 16 | 5.7 × 10⁻³ | 10⁻² |
| Fluxonium, grid 200 | 4 | 16 | 1.5 × 10⁻⁴ | 3 × 10⁻⁴ |
Coherence times
Relative difference against scqubits' own noise methods, at 15 mK with default noise parameters, over the depolarization and dephasing channels each qubit supports, plus the two aggregate times T₁ and T₂ that combine them.
| Qubit | Parameter points | Channels | Compared | Worst | Tolerance |
|---|---|---|---|---|---|
| Transmon | 1 | 4 | 6 of 6 | 3 × 10⁻⁹ % | 2% |
| Tunable Transmon | 1 | 6 | 8 of 8 | 6 × 10⁻⁸ % | 2% |
| Fluxonium | 2 | 6 | 15 of 16 | 0.13% | 15% |
What this does not cover
- Coherence is sampled, not swept. One parameter point per transmon and two for Fluxonium — enough to show the formulas are the same ones, not enough to claim agreement across the parameter space the way the spectra tables do.
- The Fluxonium coherence check runs at grid 110, not at the app's default of 80, so it measures the physics rather than the default's discretization error.
- One Fluxonium channel is excluded. At the symmetric points its coherence time is infinite by symmetry in both codes, so there is no ratio to compare and it is left out of the figures above.
- Five levels. Everything above the fifth is outside these comparisons.
- Matrix elements are compared as moduli. An eigenvector's phase is arbitrary and differs between solvers, so signs and relative phases are untested.
- The transmon matrix-element check is same-matrix. Both sides diagonalize the identical ncut = 30 matrix, which tests the eigensolver port and not whether that cutoff is converged.
- Its reference points are non-degenerate by construction. Near-degenerate spectra, where a solver is most likely to differ, are outside that comparison.
- The Fluxonium error table has two grid counts, not the whole slider.Between 80 and 200 the convergence calibration covers the intermediate values; the error figures themselves do not.
- Agreement with scqubits is not agreement with a device. Both are models of the same idealized circuit.
Which build this describes
The comparison was generated from commit 7020ea3 of the app, which is past the latest release tag. Two files differ from that tag under the solver paths this summary declares — the convergence calibration and its spec — and the difference there is a per-cell diagnostic in a report that only the test suite builds. There is no Android release, so nothing above describes a shipped Android build. Monium is not currently available in the EU or EEA.