Quantum programming languages: qasm2circ
In an ongoing voyage of learning Quantum Computing, I'm starting to explore quantum programming languages.
qasm2circ is an open source tool takes a qasm quantum assembly file and converts it into a quantum circuit diagram using python and TeX.
The output of assembly is in TeX etc., and .png, and .pdf.
The above was from the following assembly source, included in the source samples of qasm2circ:
# File: test1.qasm
# Date: 22-Mar-04
# Author: I. Chuang
# Sample qasm input file - EPR creation
h q0 # create EPR pair
This is very cool. The quantum programming languages floating around in open source space like qasm2circ above are a sort of VHDL for quantum gates. These gates will have to be individually constructed somehow in engineering reality, or the operations mapped to a series of practical interactions of simpler gates, for real quantum computing to take place.
I'm just learning, mind you, but it strikes me that identifying engineerable gates and mapping the more complex operations to a series of practical interactions of simpler gates is probably the next level of quantum computing language.The current level we're discussing of models for quantum processing is the gate level, so the next level up from the basement ought to be the microcode level, right?