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

Qiskit / qiskit / 26231196555
88%

Build:
DEFAULT BRANCH: main
Ran 21 May 2026 02:59PM UTC
Jobs 1
Files 943
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

21 May 2026 01:40PM UTC coverage: 87.485% (+0.006%) from 87.479%
26231196555

push

github

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

* [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

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

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

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

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

* [tests] Fix lint black failing

---------

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

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

5 existing lines in 3 files now uncovered.

108198 of 123676 relevant lines covered (87.49%)

966223.39 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
92.03
0.26% crates/qasm2/src/lex.rs
1
91.04
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
73.93
0.04% crates/circuit/src/parameter/symbol_expr.rs
Jobs
ID Job ID Ran Files Coverage
1 26231196555.1 21 May 2026 02:59PM UTC 943
87.49
GitHub Action Run
Source Files on build 26231196555
  • Tree
  • List 943
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26231196555
  • a8d3aefa on github
  • Prev Build on gh-readonly-queue/main/pr-16225-ef7004f929c4ed40c19a2b306a281ad1a5217f51 (#26229604097)
  • Next Build on main (#26233081001)
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