-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare 0.46.1 #11969
Prepare 0.46.1 #11969
Conversation
One or more of the the following people are requested to review this:
|
There seems to be a flaky test failing that blocked this merged. Therefore:
|
After a bit more investigation, @jakelishman and I have found that the CI failure hit in Windows is actually reproducible on all platforms, but is not introduced in this release (it currently exists in both Given that it's not newly introduced and hasn't been hit until now, we'll continue with (I'll create a bug and cross-reference this PR) |
The above bug was a manifestation of #11975 - in certain cases, the test in question ( As of 0.46.1 and 1.0.2, the following block and seed reproduces that failure reliably: from qiskit import transpile, QuantumCircuit
from qiskit.circuit import library
from qiskit.transpiler import Target, InstructionProperties
target = Target(num_qubits=5)
target.add_instruction(library.XGate(), {(i,): InstructionProperties(error=0.5) for i in range(4)})
target.add_instruction(library.HGate(), {(i,): InstructionProperties(error=0.5) for i in range(4)})
target.add_instruction(
library.CXGate(),
{edge: InstructionProperties(error=0.5) for edge in [(0, 1), (1, 2), (2, 0), (2, 3)]},
)
qc = QuantumCircuit(4)
qc.x(0)
qc.cx(0, 1)
qc.cx(0, 2)
qc.cx(1, 3)
qc.cx(0, 3)
transpile(qc, target=target, optimization_level=3, seed_transpiler=57783) |
Summary
Details and comments