projekter / yquant

Typesetting quantum circuits in a human-readable language
LaTeX Project Public License v1.3c
56 stars 5 forks source link

Support for other languages #4

Closed projekter closed 4 years ago

projekter commented 4 years ago

It would be particularly nice to introduce a language mode. While the yquant language will always provide the set of everything yquant can do at the moment, it would be nice if yquant can automatically detect OpenQASM and parse its content correctly. OpenQASM is much more limited than yquant and, being a language designed for actual execution of the circuits, does not providemeanstochangevisualappearance.Probablysome yquant additions to OpenQASM would be ok, as long as they only complement the original language? Also, OpenQASM support would probably require subcircuits. Another nice feature would be to support qasm. Also here, the feature set is much more limited and it would probably be hard to implement an automatic detection, the user would have to specify the language by hand.

projekter commented 4 years ago

Fixed in version 0.3.