ENH: Update `qcircuit` version for LaTeX circuit visualization and consider `Quantikz`
See original GitHub issueQuTiP 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:
- Created 4 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top GitHub Comments
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 problemqcircuit
is no longer vendored by QuTiP, so it uses whatever version ofqcircuit
is installed along with LaTeX (e.g. TexLive includesqcircuit
).