question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ENH: Update `qcircuit` version for LaTeX circuit visualization and consider `Quantikz`

See original GitHub issue

QuTiP currently uses QCircuit 2 (version of 2011) to generate LaTeX circuits that are printed to screen or saved to file. A newer version of QCircuit is available, 2.6.0 (2018) https://www.ctan.org/pkg/qcircuit.

  • qcircuit could be updated to the latest version

  • Also, the use of this open source package could be highlighted more evidently in the documentation.

  • Another package has been recently released, https://arxiv.org/abs/1809.03842, Quantikz, which has some features related to noise that could be useful especially with regard to PR #1065, Google Summer of Code project by @BoxiLi on noise modeling in QIP. As this other package is very young, maybe an option to draw the circuit with this package, instead of qcircuit, could be given, also to avoid issues.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
BoxiLicommented, Mar 1, 2020

The deprecation is because of the QuTiP 4.5 update. The notebook is a bit outdated. The importation should be from qutip.qip.operations import *. This should solve the problem

0reactions
hodgestarcommented, Apr 12, 2022

qcircuit is no longer vendored by QuTiP, so it uses whatever version of qcircuit is installed along with LaTeX (e.g. TexLive includes qcircuit).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tutorial on the Quantikz Package
I've always used QCircuit for typesetting quantum circuit diagrams within LATEX, but found the Xy-pic based notation rather impenetrable and I struggled to ......
Read more >
Is there anything Quantikz can do that Tikz cannot do?
I am learning how to draw quantum circuits.
Read more >
Tutorial on the Quantikz Package - PDF Free Download
A SINGLE WIRE Quantum circuits are laid out with a matrix notation, ... ve updated all of my existing teaching materials from QCircuit...
Read more >
quantikz: Draw quantum circuit diagrams
quantikz – Draw quantum circuit diagrams ... is to extend TikZ with the functionality for drawing quantum circuit diagrams. ... Version, 0.9.6 2020-04-27....
Read more >
November 2020 - devel - Fedora Mailing-Lists
... 1.7.9.2-1 - Update to latest version (#1897632) Package: ... older jedi versions broken in 0.27.3 - Add missing dollar signs to %latex...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found