We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"
When using circuit.draw() with reverse_bits=True, labels on barriers get placed incorrectly.
circuit.draw():
circuit.draw(reverse_bits=True):
from qiskit.circuit import QuantumCircuit, QuantumRegister q = [q0, q1] = QuantumRegister(2, 'q') circuit = QuantumCircuit(q) circuit.barrier(label='init') circuit.h(q0) circuit.cx(q0, q1) circuit.barrier(label='final') circuit.draw(output='mpl', filename='circuit.png') circuit.draw(output='mpl', filename='circuit_reverse_bits.png', reverse_bits=True)
Barrier labels should display in the same position with reverse_bits=True.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"
What is happening?
When using circuit.draw() with reverse_bits=True, labels on barriers get placed incorrectly.
circuit.draw():
circuit.draw(reverse_bits=True):
How can we reproduce the issue?
What should happen?
Barrier labels should display in the same position with reverse_bits=True.
Any suggestions?
No response
The text was updated successfully, but these errors were encountered: