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

Qiskit / qiskit / 15447850762 / 1
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: py3.10-updates
DEFAULT BRANCH: main
Ran 04 Jun 2025 05:11PM UTC
Files 824
Run time 1min
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

04 Jun 2025 04:40PM UTC coverage: 87.901% (-0.006%) from 87.907%
15447850762.1

push

github

web-flow
Initial `Target` C API (#14248)

* Initial: Enable a C API to build and modify a Target

* Add: `add_instruction` function

* Add: More methods to `Target` C API
- Add provisional `PropertyMap` to represent the mapping of `qargs : InstructionProperties` before adding it to the `Target`.
- `InstructionProperties`:
    - free.
- `Target`:
    - `update_instruction_prop`
    - `operation_names`
    - `physical_qubits`
    - `non_global_operation_names`.
    - `operation_names_for_qargs`.
    - `qargs_for_operation_names`.
    - `qargs`.
    - `instruction_supported`.
    - `contains_key`.

* Add: C unit test
- Add getter methods for `InstructionProperties`.
- Add `length` method for `PropertyMap`.
- Add name maping for `PropertyMap`.

* Fix: Add `IndexMap` and `Ahash` dependencies to qiskit_cext.
- Add `get` method to `Target`.
- Add missing methods to `PropertyMap`.
- Fix methods returning arrays to C by adding a a forget statement to prevent pointer from being destroyed.
- Add getter methods to the `C` api of target.
- Add helper function to parse qargs.

* Test: Add tests to update properties and get non global names.

* Add `operation_names_for_qargs` test case.
- Move `print_qargs` helper to top of module.

* Add: `qargs_for_operation_names` test case
- Add helper method to compare arrays.
- Fix print method for qargs.

* Docs: Add first wave of docstrings.

* Fix: Incorrect typing in `test_target.c`

* Fix: Add missing docstrings.
- Use correct type of pointers for outputs,

* Lint: Fix c-format

* Fix: Remove option from `qarg_gate_map`.
- Use IndexSet to preserve insertion order to avoid sorting in the C API.

* Test: Add `qargs` test.

* FIx: Add missing docstrings for remainign tests

* Fix: Type errors in MacOS

* Fix: Undo extra changes in the target.
- Sort the string arrays obtained from the target in C during tests.
- Remove `Copy` from `InstructionProperties`.
- Add helper method to sort string array outputs, coming from the Target.

* Ad... (continued)

81649 of 92887 relevant lines covered (87.9%)

524597.98 hits per line

Source Files on job 15447850762.1
  • Tree
  • List 824
  • Changed 9
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15447850762
  • d3ffc294 on github
  • Prev Job for on gh-readonly-queue/main/pr-14248-9aa1a2906b0adbc944eca2de9e13b07f915bf209 (#15446177575.1)
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