You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issues #11–#12 implement the spintronic native gate library and depth comparison vs universal RZ + CNOT. Notebook 05 is the visual deliverable for Workstream C1 — the second research thread in this repo alongside QRC (B3).
docs/notebooks.md specifies:
File: notebooks/05_spintronic_gate_set.ipynb
Output: figures/gate_depth_comparison.png
OVERVIEW also mentions Weyl chamber representation for 2-qubit gate set completeness
gates.py docstring says full operations planned for notebook 05.
Goal
Create and execute notebooks/05_spintronic_gate_set.ipynb that:
Introduces the spintronic gate set with physical mapping table
Demonstrates native gate circuits on a small chain (n_sites=3 or 4)
Build DataFrame from DepthResult list. Save data/gate_depth.csv if not already committed from Issue #12 script.
Cell 5 — Depth comparison figure
Line plot or grouped bar chart:
x-axis: n_sites
y-axis: circuit depth
Series: native_depth, universal_depth
Optional third series: two-qubit gate counts
Use utils palette. This is the main panel for gate_depth_comparison.png.
Cell 6 — Weyl chamber (2-qubit gate completeness)
Conceptual visualization for C1 narrative — does not need full optimal control theory.
Minimum acceptable content:
Sketch Weyl chamber axes (local equivalence classes of 2-qubit unitaries)
Mark points or regions for: IsingXX / exchange, spin_hall_gate, CNOT-equivalent class
Caption: which operations the spintronic set covers natively vs requires composition
Can be a schematic matplotlib 2D or 3D projection (see literature on Weyl chamber for SU(4)). Keep pedagogical, not publication-rigorous, with markdown disclaimer.
Combine Weyl panel + depth panel into one figure OR save weyl as inset. Final committed file: figures/gate_depth_comparison.png (multi-panel encouraged).
Cell 7 — Summary markdown
Table of depth savings at n_sites=8 and n_sites=10:
Context
Issues #11–#12 implement the spintronic native gate library and depth comparison vs universal RZ + CNOT. Notebook 05 is the visual deliverable for Workstream C1 — the second research thread in this repo alongside QRC (B3).
docs/notebooks.md specifies:
gates.py docstring says full operations planned for notebook 05.
Goal
Create and execute notebooks/05_spintronic_gate_set.ipynb that:
Notebook structure
Cell 1 — Title and context (markdown)
Cell 2 — Setup
Adjust imports to final Issue #11–#12 module paths.
Cell 3 — Gate set catalog
Optional: single @qml.qnode applying one spintronic_xxz_step layer and return statevector norm check (sanity).
Cell 4 — Depth benchmark
Build DataFrame from DepthResult list. Save data/gate_depth.csv if not already committed from Issue #12 script.
Cell 5 — Depth comparison figure
Line plot or grouped bar chart:
Use utils palette. This is the main panel for gate_depth_comparison.png.
Cell 6 — Weyl chamber (2-qubit gate completeness)
Conceptual visualization for C1 narrative — does not need full optimal control theory.
Minimum acceptable content:
Can be a schematic matplotlib 2D or 3D projection (see literature on Weyl chamber for SU(4)). Keep pedagogical, not publication-rigorous, with markdown disclaimer.
Combine Weyl panel + depth panel into one figure OR save weyl as inset. Final committed file: figures/gate_depth_comparison.png (multi-panel encouraged).
Cell 7 — Summary markdown
Table of depth savings at n_sites=8 and n_sites=10:
| n_sites | native_depth | universal_depth | reduction % |
State whether C1 hypothesis is supported on this benchmark unit.
Cell 8 — Sanity checks
Acceptance criteria
Files likely touched
Depends on
Blocks