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

Qiskit / qiskit / 11572090796 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2024 10:57AM UTC
Files 895
Run time 31s
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

29 Oct 2024 09:41AM UTC coverage: 88.685%. Remained the same
11572090796.1

push

github

web-flow
Add RemoveIdentityEquivalent transpiler pass (#12384)

* add DropNegligible transpiler pass

* use math.isclose instead of numpy.allclose

* use pass directly instead of constructing pass manager

* lint

* allow passing additional gate types

* add docstrings to test classes

* Generalize the pass for all gates and rewrite in rust

This pivots the pass to work for all gates by checking all the
parameters in the standard gate library are within the specified
tolerance, and the matrix is equivalent to an identity for any other
gate defined in Python (with a matrix defined). To improve the
performance of the pass it is written in rust now. Additionally the
class is named to RemoveIdentityEquivalent to make the purpose of the
pass slightly more clear.

* Don't remove zero qubit gates

* Ensure computed gate error is always positive

* Pass docstring improvements

Co-authored-by: Julien Gacon <gaconju@gmail.com>

* Move test file

* Fix lint

* Fix docs

* Add optimized identity check for Pauli gates

Co-authored-by: Julien Gacon <gaconju@gmail.com>

* Mention zero qubit gates in the docstring

* Update approximation degree logic in absense of target

* Expand test coverage and fix bugs

---------

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
Co-authored-by: Julien Gacon <gaconju@gmail.com>

74997 of 84566 relevant lines covered (88.68%)

365199.55 hits per line

Source Files on job 11572090796.1
  • Tree
  • List 895
  • Changed 73
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11572090796
  • e89cb474 on github
  • Prev Job for on main (#11526575270.1)
  • Next Job for on main (#11577152130.1)
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