Chipped figure in matplotlib for a plain quantum circuit
See original GitHub issueInformation
- Qiskit Terra version: 0.16.1
- Python version: 3.8.6
- Operating system: Artix Linux
What is the current behavior?
When drawing a plain quantum circuit (just initializing the quantum and classical registers without implementing any gates), the figure rendered in matplotlib renders chipped text. Testing this with a previous release of terra (I used 0.15.1), the text appears fine without any chipping whatsoever.
Steps to reproduce the problem
from qiskit import *
qr = QuantumRegister(2)
cr = ClassicalRegister(3)
qc = QuantumCircuit(qr,cr)
qc.draw('mpl')
With current release (0.16.1):

With a previous release (0.15.1):

What is the expected behavior?
The expected behaviour is to draw the circuit without any text chipping and draw the circuit as implemented in version 0.15.1.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Simple Plot — Matplotlib 3.6.2 documentation
Create a simple plot. import matplotlib.pyplot as plt import numpy as np # Data for plotting t = np.arange(0.0, 2.0, ... About as...
Read more >PhotoniQLAB: a framework for simulating photonic quantum ...
The basic idea of the intelligent algorithm is to compile PQIP experiments into quantum-circuit-shape diagrams, as shown in figure 2. Given the ...
Read more >Quantum Computing: Made Simple - Medium
A quantum circuit consists of simple quantum gates that act on 1 or more qubits: H stands for Hadamard transform. For us right...
Read more >Visualizing a Quantum Circuit - Qiskit
There are two alternative output renderers for the quantum circuit. One uses matplotlib, and the other uses LaTeX, which leverages the qcircuit package....
Read more >(PDF) Quantum Search on Encrypted Data Based on Quantum ...
secure quantum homomorphic evaluation protocol for Cli ord circuits, ... implement the BB84 protocol, encrypt the plain data, and decrypt the evaluated ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Assigning it to you in that case. Thanks.
@arkarc What error are you getting with the ‘mpl’ backend? Also, please open up a separate issue for this, since this does not pertain to this issue thread. Thanks!