WindOctober
WindOctober
### Environment - **Qiskit version**: 2.5.2 Also reproduced on `2.6.0.dev0+b6f798f` (`b6f798f0bd88965821a54bff3785323a39c3a6c5`) - **Python version**: 3.12.13 - **Operating system**: Linux ### What is happening? `OptimizeSwapBeforeMeasure` can retarget a measurement to the...
### Environment - **Qiskit version**: 2.5.2 - **Python version**: 3.11.4 - **Operating system**: Ubuntu 23.04, x86_64 - **NumPy version**: 2.4.6 ### What is happening? `PiecewiseChebyshevGate` approximates `f_x` outside the interval...
**Describe the bug** In `examples/hybrid_quantum_algorithms/QAOA/utils_qaoa.py`, the same QAOA parameters produce different circuits depending on the backend. The Rigetti path uses `CNOT–Rz(gamma * J)–CNOT`, whereas the native path uses `ZZ(2 *...
## Describe the issue When a `ClassicallyControlledOperation` wraps a sub-operation whose QASM output spans multiple lines—for example, `CCZ`, which exports as `h; ccx; h`—`to_qasm()` prepends a single `if (...)` prefix...
## Describe the issue The QASM importer silently drops all but the first operation when a classical condition guards a register-broadcast gate. For a two-qubit register, `if(c==1) x q;` imports...
## Describe the issue `Circuit.to_qasm()` silently ignores `KeyCondition.index`. If a measurement key is reused and a condition refers to an earlier record, the exported program instead tests the latest measurement,...
## Describe the issue `cirq.defer_measurements` does not preserve the record index of a `BitMaskKeyCondition`. When a measurement key is reused, a condition referring to an earlier record can become an...
## Describe the issue `TwoQubitGateTabulation.compile_two_qubit_gate` returns an `actual_gate` that differs by a global phase from the product reconstructed from its `local_unitaries` and base gate. The [result documentation](https://quantumai.google/reference/python/cirq/TwoQubitGateTabulationResult) defines `actual_gate` as...
### Expected behavior `single_qubit_fusion` should preserve the circuit's unitary. For `H(0); H(1)`, the gates act on different wires and cannot be fused, so the circuit should remain unchanged without an...
### Expected behavior For `A = CSWAP([0, 1, 2])` and `B = CSWAP([3, 1, 4])`, the target-wire sets overlap only on wire 1, and the gates do not commute. `qml.is_commuting(A,...