Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
d595d92
Add ancilla sweep engine: single VF2 at k_max + bridge subtraction, s…
mbazayeva Jul 12, 2026
b738da3
Merge branch 'main' into feature/ancilla-range
mbazayeva Jul 12, 2026
348b4e7
Wire ancilla sweep into Auto tab: stratified dropdown with LQS labels…
mbazayeva Jul 12, 2026
5970681
Add multi-QPU scan: props shim, background scan with progress, per-QP…
mbazayeva Jul 12, 2026
26642ac
Add stability-filtered search: chip-wide volatility, hard filter with…
mbazayeva Jul 12, 2026
adf9a7b
Add stability filter UI: opt-in filtered sweep with relax banner, cac…
mbazayeva Jul 12, 2026
778c243
Route scan warnings into UI: per-row k-capped notes, scoped notice ca…
mbazayeva Jul 13, 2026
cd90877
Fix derived candidates to prefix bridge subsets (LUCJ contract)
mbazayeva Jul 13, 2026
b221aed
UI cleanup: separate local results from scan, clear-results control, …
mbazayeva Jul 13, 2026
8e53579
One scorer everywhere: extract estimate_fidelity_core, per-backend ci…
mbazayeva Jul 13, 2026
a8c02c8
Hybrid sweep, scan/local parity, live-only scan scoring, directed edg…
mbazayeva Jul 13, 2026
9228329
Merge branch 'main' into feature/ancilla-range
mbazayeva Jul 13, 2026
baeec6d
Merge branch 'main' into feature/ancilla-range
mbazayeva Jul 13, 2026
f107b9b
email update
mbazayeva Jul 13, 2026
c489f57
Cascade derivation + top-N field
mbazayeva Jul 13, 2026
edf4103
Anchor all scoring to the selected calibration date
mbazayeva Jul 14, 2026
406b65d
Fix event-loop acquisition in async_util (zero warnings restored)
mbazayeva Jul 14, 2026
9be4f2b
Add quality floor to stability filter; scan-filtered isolation test
mbazayeva Jul 14, 2026
da141bc
Unify scan paths behind sweep_fn hook
mbazayeva Jul 14, 2026
329e820
Unify scan paths behind sweep_fn hook
mbazayeva Jul 14, 2026
ef7a672
Add diversity option to top-N selection
mbazayeva Jul 14, 2026
b7d5620
Clean up comments into self-contained documentation
mbazayeva Jul 14, 2026
52fcc54
Quality floor always on across sweep paths; batch scan on all QPUs
mbazayeva Jul 14, 2026
c93e17f
UI hardening: scan selector, stable subpanels, notices capture, hando…
mbazayeva Jul 15, 2026
4bdde3c
Plot hardening: node trace follows state, paint failures surfaced, dr…
mbazayeva Jul 15, 2026
f9c3e17
inter-QPU debug
mbazayeva Jul 15, 2026
c95c2a4
Fix inter-QPU handoff: QPU-2 map now paints on auto-connect
mbazayeva Jul 16, 2026
551ba27
Comments clean-up
mbazayeva Jul 16, 2026
4b11cec
UI fixes: Error-tab header refresh on backend switch, tab titles, I/O…
mbazayeva Jul 20, 2026
e43e84a
Merge branch 'main' into feature/ancilla-range
mbazayeva Aug 2, 2026
b56f1d6
Remove leftover merge conflict markers from pyproject.toml
mbazayeva Sep 15, 2026
e91cf46
Merge branch 'main' into feature/ancilla-range
mbazayeva Sep 18, 2026
e32875d
Post-merge: rename residue sweep, dedupe helpers, version 0.1.0.dev0;…
mbazayeva Sep 18, 2026
81c79fb
Inter-QPU: dispose the previous QPU-2 widget tree on reconnect (fix l…
mbazayeva Sep 18, 2026
b8235cb
Auto panel: Advanced section, diversity on by default, score checkbox…
mbazayeva Sep 18, 2026
7e8c0e5
Benchmark: opt-in tiered real-time benchmarking producing a measured …
mbazayeva Sep 18, 2026
f286f8a
Guided layout search (phase 1): calibration-guided beam search + 1-op…
mbazayeva Sep 18, 2026
049f595
Benchmark v3: parallel experiment plan with per-job shot budget; job-…
mbazayeva Sep 18, 2026
5575a3f
Benchmark v3.1: fix readout/1Q-RB/T1-T2 parsing and raw-dump naming; …
mbazayeva Sep 20, 2026
fd3f77c
Benchmark: calibration-check button (parallel vs sequential, no epoch…
mbazayeva Sep 20, 2026
1b6d9e7
Auto-LUCJ: diverse reservoir in VF2 enumeration (engine #17) — fill-f…
mbazayeva Sep 20, 2026
5c75912
Auto-LUCJ: reservoir notice replaces the truncation warning per strat…
mbazayeva Sep 20, 2026
5e70c9d
Message diet: short UI copy with README anchors; 'Understanding the m…
mbazayeva Sep 20, 2026
63f4758
Hybrid search engine: guided below a k threshold, exhaustive above (e…
mbazayeva Oct 6, 2026
0d3df0a
Joint multi-circuit planner: beam over placement plans, never worse t…
mbazayeva Oct 6, 2026
7345686
Docs: hybrid engine, joint planner, CODE_OVERVIEW update; docstring c…
mbazayeva Oct 6, 2026
fa630f3
Evaluation harness: real LQS per snapshot, threshold suggestion
mbazayeva Oct 6, 2026
f9bf4c2
Evaluation harness: find real saved sessions (backend_name key, --ses…
mbazayeva Oct 6, 2026
3a8fc2a
Release prep: CI workflow, badge and URLs to MIQuLab, ignore exported…
mbazayeva Oct 6, 2026
202df1f
Batch handoff: draw every circuit on QPU 2, report outcomes next to t…
mbazayeva Oct 6, 2026
6fd6ec3
LQS: count each coupler once (authorized amendments to scoring.py and…
mbazayeva Oct 6, 2026
55faeff
LQS: guided search returns induced layouts only; ancilla highlight st…
mbazayeva Oct 6, 2026
b6cf175
Batch scan: never re-search the active backend; show it as a QPU 1 re…
mbazayeva Oct 6, 2026
367b598
One search: exhaustive + guided on every ancilla count, keep the best…
mbazayeva Oct 6, 2026
b2a990d
Live-test fixes, part A: logs to a file, shorter status, complete bat…
mbazayeva Oct 8, 2026
52048ae
Properties: fetch only what the backend declares; one line per missin…
mbazayeva Oct 8, 2026
96c8bae
Guided: no duplicate layouts per stratum; joint planner returns its c…
mbazayeva Oct 8, 2026
cc00d47
Tests: keep the app's log file in tmp and detach it after every test
mbazayeva Oct 8, 2026
4e615ea
Multi-QPU scans: list chips the map cannot open as 'not supported'
mbazayeva Oct 8, 2026
5239e52
Cleanup before 0.1.0: remove dead code, comments describe the code as…
mbazayeva Oct 27, 2026
7145d8f
README update
mbazayeva Oct 27, 2026
fdddff2
README update
mbazayeva Oct 27, 2026
aa07867
README update
mbazayeva Oct 27, 2026
bc5dae9
TUTORIAL update
mbazayeva Oct 27, 2026
fff1654
TUTORIAL update
mbazayeva Oct 27, 2026
02f8abd
Update img
mbazayeva Oct 29, 2026
7a97c48
Update md files
mbazayeva Oct 29, 2026
5ff91a0
Order files
mbazayeva Oct 29, 2026
df6c063
Docs: reference page under docs/; tooltip pointers → Reference; links…
mbazayeva Oct 29, 2026
9b788e1
Docs: absolute README links for PyPI; compact CITATION.cff
mbazayeva Nov 23, 2026
bc2660a
Release 0.1.0
mbazayeva Nov 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: tests

on:
push:
branches: [main]
pull_request:
branches: [main]

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Test
run: python -m pytest -q
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ htmlcov/
# iqmapper runtime data (never commit)
.qpu_calibration_cache/
.iqmapper_sessions/
.iqmapper_styles/
iqmapper/.qpu_calibration_cache/
iqmapper/.iqmapper_sessions/
*.qpusession.json
*.qpustyle.json
.scratch/
.ipynb_checkpoints/
120 changes: 120 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,126 @@
All notable changes to this project are documented here. The format is
based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [Unreleased]

## [0.1.0] - 2026-11-23

### Added
- Opt-in real-time benchmarking (`iqmapper.benchmark`, extra
`pip install "i-qmapper[benchmark]"`): three levels that re-measure the
candidate qubits and edges with `qiskit-experiments` and feed the result
back as a "measured" calibration epoch, so the heatmap, LQS, re-ranking and
export all read fresh numbers. Never automatic, never inside the multi-QPU
scan, and the QPU cost estimate is shown before the run can be started.
Lives in the sidebar as "5. Benchmark" with selectable targets (current
layouts / sweep candidates / whole QPU / a custom qubit list) and, in
inter-QPU mode, a QPU 1 | QPU 2 selector. The experiment plan is composite
(one `ParallelExperiment` per kind, edge-coloured layers for two-qubit RB),
so a full-chip Level 3 stays small enough for IBM to accept, and is split
across jobs when it would exceed IBM's per-job shot limit. A rejected or
errored job now reports IBM's own message with the job ids, and a run that
measured nothing is reported as a failure instead of being applied and
labelled "measured". Measured values are checked against the reported
calibration after every run; a systematic offset (median ratio outside
0.5x–2x)
is treated as an estimator mismatch and the epoch is applied in relative
mode, preserving per-element ratios so outlying couplers still stand out.
Two-qubit RB now subtracts the measured single-qubit error rates, and a
calibration-check mode separates estimator bias from crosstalk.
- Stratified ancilla sweep (the default, exhaustive engine): one VF2 solve at
the maximum ancilla count feeding a bridge-subtraction cascade down to the
minimum, plus a direct search per ancilla count ("Deep search per ancilla
count", on by default), a shuffled search order so a capped search samples
the whole chip, and region-diversity selection ("Prefer diverse regions").
- Diverse enumeration (on by default): layouts that are near-copies of one
already kept no longer use up the search cap, so a capped search spreads
across the chip instead of filling up with variations of the first region
it finds.
- Guided search: a calibration-led beam search that grows layouts on the
best-calibrated qubits, then polishes the finalists with small local moves
(swap a bridge or chain-end qubit, shift a chain by one) kept only when they
raise the circuit-level LQS. Every Auto search now runs it alongside the
exhaustive search and keeps the best of both for each ancilla count, so the
best layout is never worse than either engine alone. Each layout in the list
shows its source (`· E`, `· G`, `· E+G`). One checkbox in Advanced, "Guided search" (on by default), turns it off to search as 0.0.5
did. The multi-QPU scan and the stability filter still use the exhaustive
search.
- Opt-in stability filter that excludes qubits volatile across the cached
calibration history, and an always-on quality floor (3σ by default, 0 turns
it off) that removes outlier qubits from every search.
- Multi-circuit sweep: places several circuits one after another; picking a
different layout for one circuit re-plans the circuits after it.
- Multi-QPU scan across the available backends, with one-click inter-QPU
handoff that reopens the chosen layout on the second QPU. Backends whose
chip the map cannot open (anything but 156-qubit Heron and 120-qubit
Nighthawk) are listed last as "not supported", never searched or opened.
- Epoch-consistent scoring: fidelity and ranking read a single pinned
calibration epoch, so comparisons within a sweep stay commensurable.
- Hybrid search engine (`engine_select.hybrid_sweep`, used by the engine
comparison harness, not offered in the UI): guided search for ancilla counts
up to a threshold, where the exhaustive search hits its cap and only ranks a
sample, and the exhaustive search above it.
- Joint multi-circuit placement (the default; "Fast: one circuit at a time"
in the Multi tab's Advanced places them one by one as 0.0.5 did): keeps
several placement plans at once instead of placing each circuit greedily,
so the first circuit no longer takes a region the next one needed. Never
worse than one-by-one placement, searches each circuit with the combined
search, and reports couplers shared by two circuits at buffer 0 (with an
optional penalty to avoid them).
- Engine comparison harness (`python -m iqmapper.evaluation`): replays the
search engines over the cached calibrations, offline, and ranks with the
app's real circuit-level LQS rebuilt for every calibration (`--scorer lqs`,
the default; `proxy` uses the product score). It takes the coupling map
from a saved session (`--session PATH`, or found in the working folder),
can add a hybrid-engine column (`--hybrid-k`), and prints the suggested
hybrid threshold for each orbital count (`--tol` sets how far guided may
trail and still count).
- Shorter UI messages: status lines, notices and tooltips say what happened
in one short sentence, and each is explained on the reference page
(`docs/reference.md`).

### Changed
- Documentation reorganised: short README, tutorial, and a reference page
under docs/.
- Log messages no longer print under the notebook cell. They go to a
rotating log file in the user log directory, each distinct message once
per session; the bridge-count fallback and the search-cap statistics no
longer appear in the notices panel.
- The Auto-LUCJ result line is one short line, `✅ 12 layouts found · scored
on live · 20:41`; the layout list already shows k, LQS and source.
- Multi-circuit results open with a Plans menu of the best complete plans
(picking one places every circuit), and each circuit's alternatives list
only layouts that leave room for the circuits after it.
- Multi-circuit placement is joint by default (3 plans kept, 3 candidates per
circuit); "Fast: one circuit at a time" replaces the "Optimize placement
jointly" checkbox. The batch scan keeps one-by-one placement on every QPU
and ranks backends that fit the whole batch first.

### Fixed
- LQS counted every two-qubit gate twice on backends that list each coupler
in both directions (CZ devices such as Heron), so their scores were too low
and could not be compared with ECR devices such as Eagle, which list one
direction. Each coupler now counts once, in the Layout-Quality box, the
sweep ranking and the multi-QPU scan alike.
- The guided search could return layouts in which two qubits were joined by
a coupler the ansatz does not use (for example the two ends of a chain that
wraps round a hexagon). The LQS counted that coupler as a gate, so such a
layout was scored, and could be ranked, on a gate the circuit never runs.
Guided layouts now contain only the ansatz's own couplers, as exhaustive
ones already did.
- With "Auto-Color Gates" on, an ancilla coloured its edges towards qubits of
other circuits too, so a coupler between two circuits looked like a gate
of one of them. An ancilla now colours only edges to qubits of its own
circuit, on the map and in the PNG export.
- Backends that report fewer calibration properties than Heron (Nighthawk
reports no RZZ or RX gates, Heron no MEASURE error) logged one "not found"
message per qubit or coupler on every load, and the property menus offered
properties the backend does not have, which painted the whole map black.
Only the properties the backend declares are fetched now; the menus list
only properties with values; a property with gaps logs one line ("t2: 1 of
156 qubits without a value"); a missing value reads "no data" instead of
"NAN" or "N/A".

## [0.0.5] — 2026-08

First public-ready release.
Expand Down
98 changes: 10 additions & 88 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,104 +1,26 @@
cff-version: 1.2.0
message: "If you use I-QMapper in your research, please cite the I-QMapper paper (see preferred-citation)."
message: "If you use I-QMapper, please cite the paper below (preferred-citation)."
title: "I-QMapper"
abstract: >-
Interactive, calibration-aware visualization and layout selection for
quantum-circuit ansaetze (LUCJ and general) on superconducting quantum
processors, driven by the device's reported calibration data.
authors:
- family-names: "Bazayeva"
given-names: "Milana"
version: 0.0.5
version: 0.1.0
date-released: 2026-11-23
license: Apache-2.0
repository-code: "https://github.com/MIQuLab/i-qmapper"
preferred-citation:
type: article
title: "I-QMapper: Error-Aware Layout Optimization and Device Diagnostics for NISQ Hardware"
authors:
- family-names: "Bazayeva"
given-names: "Milana"
- family-names: "Merz"
given-names: "Kenneth"
given-names: "Kenneth M."
name-suffix: "Jr."
year: 2026
doi: "10.48550/arXiv.2606.27508"
url: "https://arxiv.org/abs/2606.27508"
abstract: >-
Interactive, noise-aware visualization and layout selection for
quantum-circuit ansaetze (LUCJ and general) on superconducting QPU
topologies, driven by real device calibration data.
references:
- type: article
title: >-
Bridging physical intuition and hardware efficiency for correlated
electronic states: the local unitary cluster Jastrow ansatz for
electronic structure
authors:
- family-names: "Motta"
given-names: "Mario"
- family-names: "Sung"
given-names: "Kevin J."
- family-names: "Whaley"
given-names: "K. Birgitta"
- family-names: "Head-Gordon"
given-names: "Martin"
- family-names: "Shee"
given-names: "James"
journal: "Chemical Science"
volume: 14
start: 11213
end: 11227
year: 2023
doi: "10.1039/D3SC02516K"
- type: article
title: "Suppressing quantum circuit errors due to system variability"
authors:
- family-names: "Nation"
given-names: "Paul D."
- family-names: "Treinish"
given-names: "Matthew"
journal: "PRX Quantum"
volume: 4
start: 010327
year: 2023
doi: "10.1103/PRXQuantum.4.010327"
- type: article
title: "ffsim: Faster simulation of fermionic quantum circuits"
authors:
- family-names: "Sung"
given-names: "Kevin J."
- family-names: "Choi"
given-names: "Inho"
- family-names: "Amico"
given-names: "Mirko"
- family-names: "Andrews"
given-names: "Bartholomew"
- family-names: "Ayantuna"
given-names: "Esra"
- family-names: "Kawashima"
given-names: "Yukio"
- family-names: "Lin"
given-names: "Wan-Hsuan"
- family-names: "Omanovic"
given-names: "David"
- family-names: "Piccinelli"
given-names: "Samuele"
- family-names: "Robledo Moreno"
given-names: "Javier"
- family-names: "Ash Saki"
given-names: "Abdullah"
- family-names: "Shee"
given-names: "James"
- family-names: "Shin"
given-names: "Soyoung"
- family-names: "Tran"
given-names: "Minh C."
- family-names: "Ueda"
given-names: "Kento"
- family-names: "Zhang"
given-names: "Haimeng"
- family-names: "Motta"
given-names: "Mario"
year: 2026
doi: "10.48550/arXiv.2605.03123"
url: "https://arxiv.org/abs/2605.03123"
- type: software
title: "ffsim"
repository-code: "https://github.com/qiskit-community/ffsim"
- type: software
title: "mapomatic"
repository-code: "https://github.com/qiskit-community/mapomatic"
Loading
Loading