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

Qiskit / qiskit / 11505520943
88%

Build:
DEFAULT BRANCH: main
Ran 24 Oct 2024 07:05PM UTC
Jobs 1
Files 893
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

24 Oct 2024 06:02PM UTC coverage: 88.674%. Remained the same
11505520943

push

github

web-flow
Remove stale `variable_class_operations` set from `Target` (#12957)

* Fix: Return None for variadic properties.

* Fix: Remove `variable_class_operations` from `Target`.
- When performing serialization, we were forgetting to include `variable_class_operations` set of names in the state mapping. Since the nature of `TargetOperation` is to work as an enum of either `Instruction` instances or class aliases that would represent `Variadic` instructiions. The usage of that structure was redundand, so it was removed.
- `num_qubits` returns an instance of `u32`, callers will need to make sure they're dealing with a `NormalOperation`.
- `params` behaves more similarly, returning a slice of `Param` instances. Will panic if called on a `Variadic` operation.
- Re-adapt the code to work without `variable_class_operations`.
- Add test case to check for something similar to what was mentioned by @doichanj in #12953.

* Fix: Use `UnitaryGate` as the example in test-case.
- Move import of `pickle` to top of the file.

22 of 28 new or added lines in 1 file covered. (78.57%)

17 existing lines in 4 files now uncovered.

74900 of 84467 relevant lines covered (88.67%)

364240.39 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
82.37
-0.11% crates/accelerate/src/target_transpiler/mod.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.02
-0.24% crates/qasm2/src/expr.rs
2
61.59
-0.35% qiskit/transpiler/passes/synthesis/unitary_synthesis.py
6
90.77
-4.62% qiskit/synthesis/two_qubit/xx_decompose/decomposer.py
8
82.37
-0.11% crates/accelerate/src/target_transpiler/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 11505520943.1 24 Oct 2024 07:05PM UTC 893
88.67
GitHub Action Run
Source Files on build 11505520943
  • Tree
  • List 893
  • Changed 68
  • Source Changed 1
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11505520943
  • f2e07bc5 on github
  • Prev Build on gh-readonly-queue/main/pr-13235-2284f19225f269e20c282b3e7ff218084e6ae6c3 (#11503381891)
  • Next Build on main (#11517799526)
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