Skip to content

Visualize >1D shaded lightcones - #65

Draft
mrossinek wants to merge 6 commits into
mainfrom
visualize-with-plotly
Draft

Visualize >1D shaded lightcones#65
mrossinek wants to merge 6 commits into
mainfrom
visualize-with-plotly

Conversation

@mrossinek

Copy link
Copy Markdown
Member

Shaded lightcones for circuits that act on qubits with connectivity greater than a 1D line can become very hard to interpret and analyze. This PR adds a new animation function which visualizes the shaded lightcone on top of the QPUs coupling map.

This function cannot easily be tested in CI but will be used in the guide for #48.

Closes #47.

This draws inspiration from the `draw_layer_error_map` function from
qiskit-ibm-runtime [1] to implement an animated visualization of the
shaded lightcone bounds. While this style of visualization is restricted
to 1- and 2-qubit noise terms, it helps a lot when inspecting the bounds
for a circuit that affects qubits of connectivity greater than 1D.

[1]: https://github.com/Qiskit/qiskit-ibm-runtime/
@coveralls

coveralls commented Apr 21, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 28025437544

Coverage decreased (-12.2%) to 64.052%

Details

  • Coverage decreased (-12.2%) from the base build.
  • Patch coverage: 165 uncovered changes across 1 file (14 of 179 lines covered, 7.82%).
  • No coverage regressions found.

Uncovered Changes

File Changed Covered %
qiskit_addon_slc/visualization/animate_shaded_lightcone.py 178 13 7.3%
Total (2 files) 179 14 7.82%

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 1007
Covered Lines: 645
Line Coverage: 64.05%
Coverage Strength: 0.64 hits per line

💛 - Coveralls

@mrossinek mrossinek mentioned this pull request Apr 21, 2026
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve visualization of SLC bounds on a non-1D line circuit

2 participants