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

Qiskit / qiskit / 7054468162
87%
main: 88%

Build:
Build:
LAST BUILD BRANCH: providers-tensor
DEFAULT BRANCH: main
Ran 01 Dec 2023 01:47AM UTC
Jobs 1
Files 1265
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Dec 2023 01:25AM UTC coverage: 86.93% (+0.02%) from 86.907%
7054468162

push

github

web-flow
Don't substitute ideal gates in target with Optimize1qGatesDecomposition (#11351) (#11359)

* Don't substitute ideal gates in target with Optimize1qGatesDecomposition

This commit fixes an issue in Optimize1qGatesDecomposition where the
pass would defer to synthesized gates if the output from synthesis was
ideal even if the input gate was also ideal. This typically comes up in
simulators where there are no error rates for any gates and everything
is listed as ideal. This would cause the transpiler to translate gates
unnecessarily which was unexpected. This commit fixes this by adding an
additional check to the subsitution condition to ensure we're only
substituting a gate if it's not in the target (when they're all ideal).

Fixes #10568

* Update releasenotes/notes/fix-optimize-1q-sim-407b88e45e6062b6.yaml

Co-authored-by: Jake Lishman <jake@binhbar.com>

* Update qiskit/transpiler/passes/optimization/optimize_1q_decomposition.py

* Fix formatting

---------

Co-authored-by: Jake Lishman <jake@binhbar.com>
(cherry picked from commit f12db3b53)

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

5 of 5 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

74191 of 85346 relevant lines covered (86.93%)

91847.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7054468162.1 01 Dec 2023 01:47AM UTC 0
86.93
GitHub Action Run
Source Files on build 7054468162
Detailed source file information is not available for this build.
  • Back to Repo
  • 908e555d on github
  • Prev Build on stable/0.45 (#7040781982)
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

© 2026 Coveralls, Inc