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

Qiskit / qiskit / 6384024394
87%
main: 88%

Build:
Build:
LAST BUILD BRANCH: correct-approximation-degree
DEFAULT BRANCH: main
Ran 02 Oct 2023 07:13PM UTC
Jobs 1
Files 1265
Run time 20s
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

02 Oct 2023 06:27PM UTC coverage: 87.007% (-0.004%) from 87.011%
6384024394

push

github

web-flow
Add `check_input` option to `UnitaryGate` (#10660)

* Add skip_check option to UnitaryGate

This commit adds a new option to the unitary gate class's constructor,
skip_check, which is used to skip the checking on the input unitary.
When creating a unitary gates when you know the input is already unitary
checking that the input matrix is unitary is wasted CPU time. This new
option enables a user to assert the input is unitary and skip this
checking (at their own risk). The primary use case for this is the
consolidate blocks pass which is creating a large number of UnitaryGate
objects and matrix is always going to be unitary. This new flag is used
in ConsolidateBlocks to speed up the creation of gate objects.

* Rename argument check_input

* Fix rebase issues

* Update qiskit/circuit/library/generalized_gates/unitary.py

11 of 11 new or added lines in 2 files covered. (100.0%)

74095 of 85160 relevant lines covered (87.01%)

91323.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6384024394.1 02 Oct 2023 07:13PM UTC 0
87.01
GitHub Action Run
Source Files on build 6384024394
Detailed source file information is not available for this build.
  • Back to Repo
  • 81e28dc2 on github
  • Prev Build on gh-readonly-queue/main/pr-10945-f0c2adecd3dd1ec7b4bda92c5a1490cbc528be33 (#6381446205)
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