-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from qognitive/feature/pauli_string_cpp
Feature/pauli string cpp
- Loading branch information
Showing
8 changed files
with
207 additions
and
90 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
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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Grab all *.cpp files in the directory | ||
file(GLOB FAST_PAULI_BINDINGS CONFIGURE_DEPENDS "*.cpp") | ||
|
||
find_package(pybind11 REQUIRED) | ||
|
||
# TODO use different set of parameters depending on CMAKE_BUILD_TYPE | ||
pybind11_add_module(_fast_pauli SHARED ${FAST_PAULI_BINDINGS}) | ||
target_link_libraries(_fast_pauli PUBLIC fast_pauli) | ||
# TODO recheck from where it is pulling in numpy headers | ||
|
||
install(TARGETS _fast_pauli | ||
LIBRARY DESTINATION "${PROJECT_SOURCE_DIR}/fast_pauli") |
Oops, something went wrong.