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

Qiskit / qiskit-terra
86%
main: 87%

Build:
Build:
LAST BUILD BRANCH: sparsepauliop_default_init
DEFAULT BRANCH: main
Repo Added 12 Jun 2019 07:02PM UTC
Files 1268
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

LAST BUILD ON BRANCH mergify/bp/stable/0.24/pr-10148
branch: mergify/bp/stable/0.24/pr-10148
CHANGE BRANCH
x
Reset
  • mergify/bp/stable/0.24/pr-10148
  • dnm-fix-retrigger-wheel-builds
  • jaygambetta-patch-1
  • main
  • mergify/bp/stable/0.24/pr-10126
  • mergify/bp/stable/0.24/pr-10176
  • mergify/bp/stable/0.24/pr-10373
  • mergify/bp/stable/0.24/pr-10376
  • mergify/bp/stable/0.24/pr-10389
  • mergify/bp/stable/0.24/pr-10395
  • mergify/bp/stable/0.24/pr-10405
  • mergify/bp/stable/0.24/pr-10411
  • mergify/bp/stable/0.24/pr-10419
  • mergify/bp/stable/0.24/pr-10439
  • mergify/bp/stable/0.25/pr-10437
  • mergify/bp/stable/0.25/pr-10438
  • mergify/bp/stable/0.25/pr-10443
  • mergify/bp/stable/0.25/pr-10452
  • mergify/bp/stable/0.25/pr-10455
  • mergify/bp/stable/0.25/pr-10463
  • mergify/bp/stable/0.25/pr-10466
  • mergify/bp/stable/0.25/pr-10469
  • mergify/bp/stable/0.25/pr-10471
  • mergify/bp/stable/0.25/pr-10476
  • mergify/bp/stable/0.25/pr-10478
  • mergify/bp/stable/0.25/pr-10479
  • mergify/bp/stable/0.25/pr-10484
  • mergify/bp/stable/0.25/pr-10500
  • mergify/bp/stable/0.25/pr-10503
  • mergify/bp/stable/0.25/pr-10506
  • mergify/bp/stable/0.25/pr-10511
  • mergify/bp/stable/0.25/pr-10512
  • mergify/bp/stable/0.25/pr-10522
  • mergify/bp/stable/0.25/pr-10523
  • mergify/bp/stable/0.25/pr-10530
  • mergify/bp/stable/0.25/pr-10532
  • mergify/bp/stable/0.25/pr-10537
  • mergify/bp/stable/0.25/pr-10538
  • mergify/bp/stable/0.25/pr-10543
  • mergify/bp/stable/0.25/pr-10550
  • mergify/bp/stable/0.25/pr-10555
  • mergify/bp/stable/0.25/pr-10558
  • mergify/bp/stable/0.25/pr-10580
  • mergify/bp/stable/0.25/pr-10598
  • mergify/bp/stable/0.25/pr-10610
  • mergify/bp/stable/0.25/pr-10619
  • mergify/bp/stable/0.25/pr-10639
  • mergify/bp/stable/0.25/pr-10652
  • mergify/bp/stable/0.25/pr-10655
  • mergify/bp/stable/0.25/pr-8967
  • mergify/bp/stable/0.25/pr-9536
  • revert-10124-feature/passmanager-refactoring-pr1
  • revert-10454-revert-pass-manager-module
  • stable/0.23
  • stable/0.24
  • stable/0.25

pending completion
5490786677

push

github

mergify[bot]
Add support for QuantumCircuit.layout to qpy (#10148)

* Add support for QuantumCircuit.layout to qpy

This commit adds the missing support for QuantumCircuit.layout to the
qpy format. This necessitates bumping the QPY format version to 8 to
accomodate the extra data needed for representing the details of the
layout. The tricky piece with representing the 3 TranspileLayout
attributes is representing the virtual bits in the initial layout
because there is no guarantee that the input circuit's registers are in
the output circuit (typically they are not when transpile() is used).

Fixes #10112

* Fix handling of empty layout

* Expand test coverage

* Fix lint

* Add qpy compat tests

* Fix compat tests

* Add release notes

* Adjust layout creation to be register independent

* Finish docs

* Only check layout in compat tests with circuits

* Fix typos

* Fix doc typo in qiskit/qpy/__init__.py

Co-authored-by: John Lapeyre <jlapeyre@users.noreply.github.com>

* Adjust introduction version for layout qpy compat tests

* Unify qpy compat test version filter style

* Add new line to layout error message

* Simplify serialization logic

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

* Doc fixes

* Improve test coverage

* Don't reuse bits between initial layout and circuit in qpy compat tests.

* Update qiskit/qpy/__init__.py

* Fix test typo

* Use a register in compat tests for consistent equality

* Update test/python/qpy/test_circuit_load_from_qpy.py

---------

Co-authored-by: John Lapeyre <jlapeyre@users.noreply.github.com>
Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
(cherry picked from commit dbf1230ab)

71447 of 83159 relevant lines covered (85.92%)

45847.82 hits per line

Relevant lines Covered
Build:
Build:
83159 RELEVANT LINES 71447 COVERED LINES
45847.82 HITS PER LINE
Source Files on mergify/bp/stable/0.24/pr-10148
  • Tree
  • List 1246
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
5490786677 mergify/bp/stable/0.24/pr-10148 Add support for QuantumCircuit.layout to qpy (#10148) * Add support for QuantumCircuit.layout to qpy This commit adds the missing support for QuantumCircuit.layout to the qpy format. This necessitates bumping the QPY format version to 8 to accom... push 07 Jul 2023 10:15PM UTC mergify[bot] github pending completion  
See All Builds (26816)
  • Repo on GitHub
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