diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 1ac660a..17080f5 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -35,4 +35,4 @@ add_example(test_algs test_algs.c) target_sources(test_algs PRIVATE ${ALGORITHM_EXAMPLES}) add_executable(circuit_equivalence circuit_equivalence.c) -target_link_libraries(circuit_equivalence qsylvan qsylvan_qasm_parser) +target_link_libraries(circuit_equivalence qsylvan qsylvan_qasm_parser_qmdd) diff --git a/qasm/run_qasm_on_mtbdd.c b/qasm/run_qasm_on_mtbdd.c index a19b5f2..4fdce2f 100644 --- a/qasm/run_qasm_on_mtbdd.c +++ b/qasm/run_qasm_on_mtbdd.c @@ -473,7 +473,7 @@ int main(int argc, char *argv[]) argp_parse(&argp, argc, argv, 0, 0, 0); quantum_circuit_t* circuit = parse_qasm_file(qasm_inputfile); - optimize_qubit_order(circuit); + optimize_qubit_order(circuit, false); if (rseed == 0) rseed = time(NULL); srand(rseed);