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

Qiskit / qiskit / 26520078710
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: patch-lcov-errors
DEFAULT BRANCH: main
Ran 27 May 2026 03:43PM UTC
Jobs 1
Files 923
Run time 4min
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

27 May 2026 02:49PM UTC coverage: 87.777%. Remained the same
26520078710

push

github

web-flow
Fix Statevector.evolve modifying input state in-place (Fixes 15750) (#15905) (#16227)

* [quantum_info.states] Add tests (1 failing) for Statevector.evolve modifying original state

Statevector.evolve() is meant to return the evolved state, with the
original state remaining unmodified. However, some instructions result
in the state being modified. The added tests validate
Statevector.evolve() with various gates, Operator, and QuantumCircuit.
The only instance where the original state is modified is with
DiagonalGate.

* [quantum_info.states] Use new _data array when applying global phase

The _data array of Statevector may be a shallow copy of another
Statevector. Applying a global phase in-place would modify the other
instances. A deep copy doesn't work as this breaks another test:

- test.python.primitives.test_statevector_estimator.TestStatevectorEstimator.test_reset

* [reno] Add bugfix releasenote

* Update releasenotes/notes/fix-statevector-evolve-inplace-modification-be2f31976d5a2e1d.yaml



* Update releasenotes/notes/fix-statevector-evolve-inplace-modification-be2f31976d5a2e1d.yaml



* [tests] Fix test names not being snake-case

* [tests] Fix lint black failing

---------


(cherry picked from commit a8d3aefae)

Co-authored-by: Conrad Haupt <conrad@conradhaupt.com>
Co-authored-by: Julien Gacon <gaconju@gmail.com>

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

14 existing lines in 3 files now uncovered.

104334 of 118862 relevant lines covered (87.78%)

1014397.32 hits per line

Coverage Regressions

Lines Coverage ∆ File
10
74.01
-0.41% crates/circuit/src/parameter/symbol_expr.rs
3
92.8
0.77% crates/qasm2/src/lex.rs
1
90.53
0.0% crates/circuit/src/parameter/parameter_expression.rs
Jobs
ID Job ID Ran Files Coverage
1 26520078710.1 27 May 2026 03:43PM UTC 923
87.78
GitHub Action Run
Source Files on build 26520078710
  • Tree
  • List 923
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26520078710
  • 60bfa9d3 on github
  • Prev Build on gh-readonly-queue/stable/2.4/pr-16284-69cb824d5ef9d42aec52d0f8473382cf0839260e (#26512019127)
  • Next Build on stable/2.4 (#26526808731)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc