-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimization in cmake files + renaming/cleanup
- Loading branch information
1 parent
0f10a80
commit 80faf61
Showing
10 changed files
with
19 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ | |
/.vscode | ||
|
||
# Build | ||
sim_qasm | ||
test_wgt_storage | ||
/build | ||
*.so | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,18 @@ | ||
#set(SOURCES | ||
# QASM_to_circuit.c | ||
# circuit.c | ||
#) | ||
#add_executable(test_circuit test_circuit.c ${SOURCES}) | ||
#target_link_libraries(test_circuit qsylvan) | ||
#add_executable(qsylvan_qasm qsylvan_qasm.c ${SOURCES}) | ||
#target_link_libraries(qsylvan_qasm qsylvan popt) | ||
|
||
# allow the parser to be included in other places as a library | ||
# (without compiling eval_expr.cpp again) | ||
|
||
#add_library(qsylvan_qasm_parser) | ||
#target_sources(qsylvan_qasm_parser | ||
# PRIVATE | ||
# simple_parser.cpp | ||
# parse_math/eval_expr.cpp | ||
# PUBLIC | ||
# simple_parser.h) | ||
# | ||
#add_executable(sim_qasm sim_qasm.c) | ||
#target_link_libraries(sim_qasm qsylvan qsylvan_qasm_parser) | ||
|
||
|
||
# QASM simulator with qmddd | ||
|
||
add_library(qsylvan_qasm_parser_qmdd) | ||
target_sources(qsylvan_qasm_parser_qmdd | ||
# 1. Compile qasm parser as separate library | ||
# (to allow the parser to be included in other places as a library, without | ||
# compiling eval_expr.cpp again) | ||
add_library(qsylvan_qasm_parser) | ||
target_sources(qsylvan_qasm_parser | ||
PRIVATE | ||
simple_parser.cpp | ||
qsylvan_qasm_parser.cpp | ||
parse_math/eval_expr.cpp | ||
PUBLIC | ||
simple_parser.h) | ||
qsylvan_qasm_parser.h) | ||
|
||
# 2. QMDD QASM simulator | ||
add_executable(run_qasm_on_qmdd run_qasm_on_qmdd.c) | ||
target_link_libraries(run_qasm_on_qmdd qsylvan qsylvan_qasm_parser_qmdd) | ||
|
||
|
||
# QASM simulator with mtbdd | ||
|
||
add_library(qsylvan_qasm_parser_mtbdd) | ||
target_sources(qsylvan_qasm_parser_mtbdd | ||
PRIVATE | ||
simple_parser.cpp | ||
parse_math/eval_expr.cpp | ||
PUBLIC | ||
simple_parser.h) | ||
target_link_libraries(run_qasm_on_qmdd qsylvan qsylvan_qasm_parser) | ||
|
||
# 3. MTBDD QASM simulator | ||
add_executable(run_qasm_on_mtbdd run_qasm_on_mtbdd.c) | ||
target_link_libraries(run_qasm_on_mtbdd qsylvan qsylvan_qasm_parser_mtbdd) | ||
target_link_libraries(run_qasm_on_mtbdd qsylvan qsylvan_qasm_parser) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters