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

Qiskit / qiskit-terra / 5594119978
87%

Build:
DEFAULT BRANCH: main
Ran 19 Jul 2023 02:17AM UTC
Jobs 1
Files 1265
Run time 16s
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

pending completion
5594119978

push

github

web-flow
Support control flow in `SabreSwap` and `SabreLayout`. (#10366)

* Initial commit.

* Downgrade hashbrown to 0.12.3 for compat with Rustworkx.

* Implement gen_swap_epilogue.

* Add Python wrappers for structs.

* Implement DAG -> SabreDAG.

* Apply block results in sabre_swap.py.

* Fix node ID lookup issue.

Previously, we were using original DAG node IDs to look up nodes
in the expanded nested DAGs, but these IDs are of course not the
same.

* Fix bug where block circuits started out non-empty!

* Move DAG building and result application to functions.

* Implement control flow handling for Sabre layout.

* Fix qreg indexing bug for new swaps versus routed gates.

* Run Python formatting.

* Fix bug where root_dag was used instead of mapped_dag.

* Fix bug where swap_epilogue was in terms of physical bits instead of logical.

* Add more tests from stochastic swap.

* Fix bug mapping inner block qubits to outer circuit qubits.

* Update sabre swap testing.

* Update TODOs.

* Fix bug where a 2Q CF nodes would be mistakenly added to the extended set.

* Port more testing from stochastic swap.

* Run formatting.

* Port remaining stochastic swap tests.

* Mark Sabre routing and layout as known good for CF.

* Add random circuit valid output testing for Sabre.

* Run cargo fmt.

* Fix lint issues.

* Fix lint issues.

* Update 'test_invalid_methods_raise_on_control_flow'

* Make gen_swap_epilogue consume 'from_layout'.

* Add release note.

* Update TODO comment about num_qubits.

* Add comment about forward DAG.

* Explicitly mark NodeBlockResults as a mapping.

* Use closure instead of lambda noun.

* Add comment to make gate placement handling clearer.

* Use hashbrown::HashMap in SabreDAG.

* Add caching of circuit_to_dag.

* Simplify parameters to _build_sabre_dag.

- Makes it more explicit that the num_qubits used in a SabreDAG
  should be the number of physical qubits on the device.
- We no longer pass clbit indices because they are always local ... (continued)

72577 of 84321 relevant lines covered (86.07%)

59541.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5594119978.1 19 Jul 2023 02:17AM UTC 0
86.07
GitHub Action Run
Source Files on build 5594119978
Detailed source file information is not available for this build.
  • Back to Repo
  • 49b383a9 on github
  • Prev Build on main (#5593441261)
  • Next Build on main (#5594201913)
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