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

Qiskit / qiskit / 6550514240
88%

Build:
DEFAULT BRANCH: main
Ran 17 Oct 2023 05:45PM UTC
Jobs 1
Files 1267
Run time 52s
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

17 Oct 2023 03:19PM UTC coverage: 87.064% (+0.01%) from 87.052%
6550514240

push

github

web-flow
Deprecate Unroller pass (#10607)

* Deprecate Unroller pass

* small fix

* black

* add release note

* fix test

* fix test again

* fix test again

* fix visualization tests

* update visual tests

* try to fix circuits

* Adjust qpy backwards compat tests to handle change in control definition

In this PR by switching the internal use of the Unroller to the
BasisTranslator for the add_control.py module results in a different
definition for the generated controlled gate than was done in previous
releases this causes the qpy backwards compat tests to fail. The qpy
backwards compatibility tests generate qpy files with every historical
release of qiskit (that had qpy support) and valdiates that if we load
those qpy files with the current state of the main branch (plus a PR
under test) that the loaded  circuits are identical to running the same
code to generate the circuit. However, because of this divergence due to
an internal change in add_control() the circuits are no longer 100%
identical, but are still equivalent. To address this, a new option is
added to the test suite to give an option when this situation occurs to
test for unitary equivalence instead of a instruction for instruction
identical circuit. This is then used for the control circuits.

* Expand release notes

* Ensure we are explicitly warning on transpile()

This commit adds an explicit user facing warning for places where the
transpiler is typically invoked by users. The normal entry point for
users that are using the unroller is to call
`transpile(..., translation_method="unroller")` and they don't work
directly with the `Unroller` pass. This means the deprecation warning
would be hidden from most users because the warning would not point to
user code and the default filters will suppress it. This commit adds an
explicit warning to transpile() and generate_preset_pass_manager() when
the unroller is requested as the translation method to ensure users see
the warning and know how to ... (continued)

16 of 16 new or added lines in 4 files covered. (100.0%)

74026 of 85025 relevant lines covered (87.06%)

91431.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6550514240.1 17 Oct 2023 05:45PM UTC 0
87.06
GitHub Action Run
Source Files on build 6550514240
Detailed source file information is not available for this build.
  • Back to Repo
  • 881fa8ee on github
  • Prev Build on gh-readonly-queue/main/pr-10815-63283dcd505ba7c0f0c75b6731ad1830043959af (#6541098897)
  • Next Build on main (#6551347416)
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