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

Qiskit / qiskit / 26229684519 / 1
87%
main: 88%

Build:
Build:
LAST BUILD BRANCH: port-synth_cnot_phase_aam-to-rust
DEFAULT BRANCH: main
Ran 21 May 2026 02:13PM UTC
Files 943
Run time 48s
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.471% (-0.008%) from 87.479%
26229684519.1

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>

108181 of 123676 relevant lines covered (87.47%)

958551.28 hits per line

Source Files on job 26229684519.1
  • Tree
  • List 943
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26229684519
  • a8d3aefa on github
  • Prev Job for on gh-readonly-queue/main/pr-15905-7a74cd52a04026cc71c2c65c80db5c7c84b4c13a (#26229604097.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