Trying to run below snippet to generate circuit diagram in a
Jupyter notebook on Windows.
import qiskit qc = qiskit.QuantumCircuit(1) qc.x(0) qc.draw('latex')
MissingOptionalLibraryError Traceback (most recent call last) Input In , in <cell line: 4>() 2 qc = qiskit.QuantumCircuit(1) 3 qc.x(0) ----> 4 qc.draw('latex') ... MissingOptionalLibraryError: "The 'pdflatex' library is required to use 'LaTeX circuit drawing'. You will likely need to install a full LaTeX distribution for your system."