Initial quantum circuit.
This commit is contained in:
parent
77ce58c612
commit
20c13c1cdf
38 changed files with 1153 additions and 14 deletions
2
test/data/quantum_circuit.dat
Normal file
2
test/data/quantum_circuit.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
|0>---X---
|
||||
|1>---Z---
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
TEST_CASE(TestLatexConverter, "publishing")
|
||||
{
|
||||
auto expression = std::make_unique<LatexMathExpression>("\\psi = \\frac{\\alpha + \\beta}{c + d} + e");
|
||||
auto expression = std::make_unique<LatexMathExpression>("\\psi = \\frac{\\alpha + \\beta}{c + d} + \\ket{e}");
|
||||
|
||||
auto equation_node = std::make_unique<EquationNode>(Point(10, 10));
|
||||
equation_node->setContent(expression.get());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue