QASM is a simple text-format language for describing acyclic quantum
circuits composed from single qubit, multiply controlled
single-qubit gates, multiple-qubit, and multiple-qubit controlled
multiple-qubit gates.
qasm2circ is a package which converts a QASM file into a graphical depiction of the quantum circuit, using standard quantum gate symbols (and other user-defined symbols). This is done using latex (specifically, xypic), to produce high-quality output in epsf, pdf, or png formats. Figures of quantum circuits in the book "Quantum Computation and Quantum Information," by Nielsen and Chuang, were produced using an earlier version of this package.
|
echo "[ home ";
// automatically generate contents
$ptrs = array("test1" => "Example 1",
"test2" => "Example 2",
"test3" => "Example 3",
"test4" => "Example 4",
"test5" => "Example 5",
"test6" => "Example 6",
"test7" => "Example 7",
"test8" => "Example 8",
"test9" => "Example 9",
"test10" => "Example 10",
"test11" => "Example 11",
"test12" => "Example 12",
"test13" => "Example 13",
"test14" => "Example 14",
"test15" => "Example 15",
"test16" => "Example 16",
"test18" => "Example 18",
"test17" => "Example 17"
);
foreach ($ptrs as $name => $desc){
$href = "#$name";
echo "| $desc ";
}
echo " | qasm specification ";
echo " | Installation instructions ]";
echo " Live demo (MIT only)"; ?> |
\n"; echo "
$desc
\n"; echo "[ $name.qasm |"; echo "$name.png |"; echo "$name.pdf |"; echo "$name.eps |"; echo "$name.tex ]"; echo "\n"; include "$name.qasm"; echo " | ";
echo "