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

Qiskit / qiskit / 20059263813

09 Dec 2025 09:31AM UTC coverage: 88.333% (-0.01%) from 88.343%
20059263813

push

github

web-flow
Add deprecation system to C API (#15369)

* Add deprecation system to C API

This adds infrastructure to apply deprecations to C API functions, which
causes them to raise warnings when user code is compiled against them
(with gcc/clang/MSVC, at least).  We also introduce a custom Doxygen
function that can be used to add deprecation information to the
docstring in a way that Sphinx will understand it.

To illustrate the use (and to follow, at least partially, the spirit of
our deprecation policies), this re-introduces the C API function
`qk_transpiler_pass_standalone_vf2_layout` function, which was removed
by the VF2-pruning PR chain.  We leave it with the Qiskit 2.2 API,
marking it as deprecated.

* Fix typos in documentation

Co-authored-by: Julien Gacon <gaconju@gmail.com>

* Comment on deprecation-warning location style

---------

Co-authored-by: Julien Gacon <gaconju@gmail.com>

0 of 21 new or added lines in 1 file covered. (0.0%)

7 existing lines in 3 files now uncovered.

96201 of 108907 relevant lines covered (88.33%)

1202836.04 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

82.3
/crates/circuit/src/parameter/parameter_expression.rs


Source Not Available

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