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

Qiskit / qiskit / 17143354507
88%

Build:
DEFAULT BRANCH: main
Ran 22 Aug 2025 01:57AM UTC
Jobs 1
Files 848
Run time 2min
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

22 Aug 2025 12:53AM UTC coverage: 88.423% (+0.005%) from 88.418%
17143354507

push

github

web-flow
Add SabreLayout to the C API (#14711)

* Add SabreLayout to the C API

This commit adds a standalone transpiler pass function to the C API for
running the SabreLayout transpiler pass. This function returns a
new result type QkSabreLayoutResult that contains the output circuit
along with the layouts from running the pass.

Fixes #14449

* Improve testing

* Fix tests

* Fix docs

* Finish API docs for standalone function

* Pivot interface to use TranspileLayout

This commit reworks the C interface for sabre layout to use
TranspileLayout for the return type remove the Sabre result type. It was
largely duplicative and it's better to just use the same interface.

* Remove stale references to QkSabreLayoutResult in docs

* Fix test memory leaks

* Make input to pass function an options struct

* Set number of input qubits correctly in output layout

* Move helper functions to common.c

* Use a stack variable instructions in compare_circuits()

* Fix output_permutation in the return

* Apply suggestions from code review

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

* Update docstring for circuit arg

* Don't use PyErr debug or display

* Add missing newlines to test failure strings

* Update error messages about output permutation test failures

* Correct permutation variable names

* Correct copyright header

---------

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

59 of 59 new or added lines in 1 file covered. (100.0%)

16 existing lines in 3 files now uncovered.

89820 of 101580 relevant lines covered (88.42%)

496266.59 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.39
0.0% crates/circuit/src/parameter/parameter_expression.rs
4
92.53
0.26% crates/qasm2/src/lex.rs
11
72.78
-0.45% crates/circuit/src/parameter/symbol_expr.rs
Jobs
ID Job ID Ran Files Coverage
1 17143354507.1 22 Aug 2025 01:57AM UTC 848
88.42
GitHub Action Run
Source Files on build 17143354507
  • Tree
  • List 848
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17143354507
  • 52ebd733 on github
  • Prev Build on gh-readonly-queue/main/pr-14933-0d3e37d51cae307bd1cfeb120446ae329b40da98 (#17141453753)
  • Next Build on main (#17154949285)
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