-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements for I/O mapping information extraction
* Python bindings now support extraction of I/O mapping information from Qiskit objects * Improved check whether measurements occur at the end of the circuit * Extraction of I/O mapping information from measurements is now conducted during circuit import * Correctly set visibility settings for googletest when building bindings Signed-off-by: Lukas Burgholzer <lukas.burgholzer@jku.at>
- Loading branch information
1 parent
3605849
commit b263d13
Showing
5 changed files
with
15 additions
and
37 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
Submodule qfr
updated
from be35b7 to 035b6a
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,3 +1,9 @@ | ||
pybind11_add_module(py${PROJECT_NAME} bindings.cpp) | ||
target_link_libraries(py${PROJECT_NAME} PUBLIC ${PROJECT_NAME} JKQ::pyqfr pybind11_json) | ||
set_target_properties(${PROJECT_NAME} PROPERTIES POSITION_INDEPENDENT_CODE TRUE) | ||
if (TARGET gtest) | ||
target_compile_options(gtest PUBLIC -fvisibility=hidden) | ||
target_compile_options(gtest_main PUBLIC -fvisibility=hidden) | ||
target_compile_options(gmock PUBLIC -fvisibility=hidden) | ||
target_compile_options(gmock_main PUBLIC -fvisibility=hidden) | ||
endif () |
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