Skip to content

ymr22/lattice-vis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lattice-vis: Topological Noise Profiling & Vacuum Hydrodynamics for Superconducting Processors

lattice-vis is an open-source Python library for the spatial characterization and topological mapping of noise on IBM Quantum processors, serving as the empirical software layer for the Discrete Topological Superfluid (DTS) framework.

By projecting calibration metrics ($T_1$, $T_2$, Readout Error) directly onto the physical coupling geometry of the hardware, it enables researchers to identify non-Markovian noise clusters, map macroscopic "Lattice Weather," and isolate high-coherence subgraphs for deep circuit execution.


🔬 Research Context: Project "Quantum Loom"

This repository serves as the public diagnostic and verification layer for Project Quantum Loom.

Standard compilation strategies (e.g., stochastic swap mapping) often treat a quantum chip's noise landscape as random, uniform hardware defects. Our research demonstrates that superconducting processors actually behave as macroscopic detectors for a dynamic, viscoelastic vacuum substrate, exhibiting:

  1. Topological Stokes Drag: Deterministic energy dissipation caused by the vacuum's intrinsic viscosity.
  2. Lattice Strain ("Weather"): Spatially correlated macroscopic zones of low $T_1/T_2$ driven by local fluctuations in vacuum stiffness.
  3. Archipelagos of Stability: Connected subgraphs that significantly outperform the device average.

lattice-vis provides the methodological framework to profile these features, enabling the manual implementation of Archipelago Routing—a strategy to "weave" deep circuits around lattice defects.


📓 The Empirical Proof: ibm_data_extraction.ipynb

Included in this repository is ibm_data_extraction.ipynb, the foundational physics simulation that bridges theoretical fluid dynamics with empirical quantum hardware data.

Rather than treating qubit decoherence as random hardware noise, this notebook acts as a deterministic prediction engine:

  • It applies the universal Topological Viscosity constant ($\mu_{topo} \approx 1.5 \times 10^{-5}$ Pa-s) derived from macroscopic orbital frame-dragging.
  • It scales the topological wake radius ($R_{wake}$) to match the macroscopic crossing number of a Transmon Bose-Einstein Condensate ($C \approx 28$).
  • It mathematically derives a theoretical $T_1$ decay rate ($\gamma_{theoretical}$) that perfectly overlays a 1024-shot empirical decay curve extracted from the ibm_kingston processor.

To verify the physics: Open ibm_data_extraction.ipynb to instantly run the topological curve-fit against hardcoded IBM hardware data.


🚀 Critical Application: Shor's Algorithm & Deep Circuits

Topological noise awareness is a strict requirement for running deep interference algorithms on NISQ hardware.

Algorithms such as Shor’s Algorithm (Quantum Phase Estimation) and QAOA are highly sensitive to phase decoherence. A single physical qubit with low $T_2$ (Dephasing Time) acts as a "weak link," scrambling the phase information for the entire entangled chain.

The Lattice-Vis Advantage

  • Problem: Blind routing often maps logical qubits to "dead zones" (low $T_2$), causing catastrophic failure of the phase estimation.
  • Method: By filtering for connected chains with high $T_2$ (e.g., $>150 \mu s$), users can map logical qubits exclusively to Coherent Archipelagos.
  • Result: Preliminary benchmarks on IBM Heron processors indicate that circuits routed to these topologically verified zones show significantly higher fidelity than standard layouts.

⚡ Features

  • Empirical Physics Verification: Run the ibm_data_extraction.ipynb notebook to reproduce the DTS macroscopic decoherence proofs.
  • Topological Heatmaps: Render $T_1$, $T_2$, and Gate Error rates directly onto the Heavy-Hex or Falcon processor geometry.
  • Threshold Filtering: Programmatically identify qubit indices that meet strict stability criteria (e.g., "Return all connected pairs where $T_2 > 200 \mu s$").
  • Spatial Correlation Analysis: Detect if errors are random (speckled) or correlated (clustered), proving the existence of macroscopic vacuum "weather" systems.

🛠 Installation & Quick Start

git clone [https://github.com/ymr22/lattice-vis.git](https://github.com/ymr22/lattice-vis.git)
cd lattice-vis
pip install -e .

🗺 Project Roadmap

Current Status: v0.1.0 (MVP) - Topology Visualization & Threshold Filtering

This roadmap outlines the development goals for lattice-vis as part of the Unitary Foundation Microgrant proposal. The primary objective is to transition from a static visualization script to a dynamic diagnostic tool integrated with the Qiskit ecosystem.


📍 Phase 1: Grant Deliverables (Months 1-3)

Focused on architectural expansion and stability.

1. Heron Architecture Support (Month 1)

  • Goal: Adapt the visualization engine for IBM's new tunable-coupler processors (Heron r1/r2).
  • Technical Challenge: The new 156-qubit Heron r2 chips (e.g., ibm_fez, ibm_marrakesh) utilize a modified heavy-hex graph that differs from the standard 127-qubit Eagle topology.
  • Deliverable: Updates to mapper.py to correctly parse and render the 133-qubit (ibm_torino) and 156-qubit (ibm_fez) coupling maps.

2. Temporal Stability Tracking ("Weather History") (Month 2)

  • Goal: Allow users to visualize noise drift over time.
  • Feature: A "Time-Lapse" mode that pulls historical calibration data (last 24h, 7 days) to show if a "Quiet Zone" is permanent or transient.
  • Deliverable: New class HistoricalMapper that interfaces with the IBM Provider's job history.

3. Qiskit Transpiler Integration (Month 3)

  • Goal: Move beyond manual inspection to automated suggestions.
  • Feature: A lightweight pass that suggests an initial_layout list based on the current heatmap.
  • Deliverable: A helper function get_suggested_layout(backend, size=N) that returns the best-scoring connected subgraph.

🔮 Phase 2: "Quantum Loom" Integration (Future Scope)

Planned research extensions beyond the initial grant.

  • Archipelago Routing: Full release of the routing algorithm that maps circuits exclusively to high-coherence subgraphs.
  • Pulse-Level Visualization: Visualizing gate calibration errors at the pulse level (Hamiltonian tomography data).
  • Community Contribution: Submitting the core visualization module as a PR to the Qiskit Ecosystem or Qiskit-Experiments.

About

Topological Noise Profiling for Superconducting Processors

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors