• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 19978823878

05 Dec 2025 11:22PM UTC coverage: 88.436% (+0.01%) from 88.422%
19978823878

Pull #15422

github

mergify[bot]
Fix timeline drawer for gates without unitary in target (#15421)

The timeline drawer was storing the unitary of a gate from the target in
the metadata collected around drawing properties for some reason. This
field was never used by anything but was in the metadata dictionary used
for visualization. However, if there is a gate without a unitary in the
target (such as a parameterized gate like RGate(theta, phi) which has a
duration then this would error. Since we don't use the unitary for
anything there is no reason to collect. This commit fixes the issue by
removing the unitary from this internal metadata dictionary.

(cherry picked from commit 9ef5a83b2)
Pull Request #15422: Fix timeline drawer for gates without unitary in target (backport #15421)

92404 of 104487 relevant lines covered (88.44%)

551131.94 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

73.19
/crates/circuit/src/parameter/symbol_expr.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc