I'm using Qiskit in Visual Studio 2019. I want to draw quantum circuits, but it only shows their sizes with text instead of figures. The output on the interactive window is like this.
>>> from qiskit import QuantumRegister, ClassicalRegister, QuantumCircuit ...: import numpy as np ...: %matplotlib inline In : qr = QuantumRegister(1) ...: cr = ClassicalRegister(1) ...: circuit = QuantumCircuit(qr, cr) ...: circuit.h(qr) Out : <qiskit.extensions.standard.h.HGate at 0x2c9b16b8e80> In : circuit.draw(output="mpl") Out : <Figure size 240.8x138.46 with 1 Axes>
Is there any way to draw circuits correctly, or is it simply that Qiskit doesn't work in Visual Studio?
<edited> the qiskit version
In : print(qiskit.__version__) 0.8.1