squander 1.9.0__tar.gz → 1.9.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {squander-1.9.0 → squander-1.9.2}/CMakeLists.txt +5 -2
- {squander-1.9.0/squander.egg-info → squander-1.9.2}/PKG-INFO +1 -1
- {squander-1.9.0 → squander-1.9.2}/pyproject.toml +0 -1
- {squander-1.9.0 → squander-1.9.2}/setup.py +1 -1
- {squander-1.9.0 → squander-1.9.2}/squander/IO_interfaces/Qiskit_IO.py +11 -3
- {squander-1.9.0 → squander-1.9.2}/squander/IO_interfaces/__pycache__/Qiskit_IO.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/__init__.py +6 -0
- squander-1.9.2/squander/__pycache__/__init__.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/__pycache__/utils.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/CMakeLists.txt +48 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/__pycache__/qgd_N_Qubit_Decomposition.cpython-310.pyc +0 -0
- squander-1.9.2/squander/decomposition/__pycache__/qgd_N_Qubit_Decomposition_adaptive.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/__pycache__/qgd_N_Qubit_Decomposition_custom.cpython-310.pyc +0 -0
- squander-1.9.2/squander/decomposition/__pycache__/qgd_N_Qubit_Decomposition_non_unitary_adaptive.cpython-310.pyc +0 -0
- squander-1.9.2/squander/decomposition/__pycache__/qgd_SABRE.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/qgd_N_Qubit_Decomposition_adaptive.py +8 -0
- squander-1.9.2/squander/decomposition/qgd_N_Qubit_Decomposition_non_unitary_adaptive.py +603 -0
- squander-1.9.2/squander/decomposition/qgd_N_Qubit_Decomposition_non_unitary_adaptive_Wrapper.cpp +2661 -0
- squander-1.9.2/squander/decomposition/qgd_SABRE.py +272 -0
- squander-1.9.2/squander/gates/__pycache__/qgd_CH.cpython-310.pyc +0 -0
- squander-1.9.2/squander/gates/__pycache__/qgd_CNOT.cpython-310.pyc +0 -0
- squander-1.9.2/squander/gates/__pycache__/qgd_CRY.cpython-310.pyc +0 -0
- squander-1.9.2/squander/gates/__pycache__/qgd_CZ.cpython-310.pyc +0 -0
- squander-1.9.2/squander/gates/__pycache__/qgd_Circuit.cpython-310.pyc +0 -0
- squander-1.9.2/squander/gates/__pycache__/qgd_H.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_RX.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_RY.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_RZ.cpython-310.pyc +0 -0
- squander-1.9.2/squander/gates/__pycache__/qgd_SX.cpython-310.pyc +0 -0
- squander-1.9.2/squander/gates/__pycache__/qgd_U3.cpython-310.pyc +0 -0
- squander-1.9.2/squander/gates/__pycache__/qgd_X.cpython-310.pyc +0 -0
- squander-1.9.2/squander/gates/__pycache__/qgd_Y.cpython-310.pyc +0 -0
- squander-1.9.2/squander/gates/__pycache__/qgd_Z.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_CH.py +11 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_CH_Wrapper.cpp +61 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_CNOT.py +12 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_CNOT_Wrapper.cpp +54 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_CRY.py +11 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_CRY_Wrapper.cpp +57 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_CZ.py +12 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_CZ_Wrapper.cpp +60 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_Circuit.py +62 -1
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_Circuit_Wrapper.cpp +317 -43
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_H.py +12 -1
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_H_Wrapper.cpp +29 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_RX.py +11 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_RX_Wrapper.cpp +29 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_RY.py +11 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_RY_Wrapper.cpp +28 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_RZ.py +12 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_RZ_Wrapper.cpp +27 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_SX.py +11 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_SX_Wrapper.cpp +26 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_U3.py +14 -1
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_U3_Wrapper.cpp +26 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_X.py +12 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_X_Wrapper.cpp +27 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_Y.py +12 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_Y_Wrapper.cpp +27 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_Z.py +11 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_Z_Wrapper.cpp +27 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/QGDTypes.h +2 -0
- squander-1.9.2/squander/src-cpp/common/include/n_aryGrayCodeCounter.h +117 -0
- squander-1.9.2/squander/src-cpp/common/n_aryGrayCodeCounter.cpp +249 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/Decomposition_Base.cpp +21 -5
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/N_Qubit_Decomposition.cpp +3 -1
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/N_Qubit_Decomposition_Cost_Function.cpp +2 -4
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/N_Qubit_Decomposition_adaptive.cpp +6 -10
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/N_Qubit_Decomposition_custom.cpp +1 -1
- squander-1.9.2/squander/src-cpp/decomposition/N_Qubit_Decomposition_non_unitary_adaptive.cpp +1742 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/Optimization_Interface.cpp +91 -28
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/Sub_Matrix_Decomposition.cpp +4 -7
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/include/Decomposition_Base.h +8 -0
- squander-1.9.2/squander/src-cpp/decomposition/include/N_Qubit_Decomposition_non_unitary_adaptive.h +267 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/Adaptive.cpp +5 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/CH.cpp +2 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/CNOT.cpp +2 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/CRY.cpp +9 -8
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/CZ.cpp +2 -0
- squander-1.9.2/squander/src-cpp/gates/CZ_NU.cpp +319 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/Composite.cpp +2 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/Gate.cpp +156 -13
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/Gates_block.cpp +319 -76
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/H.cpp +2 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/ON.cpp +2 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/RX.cpp +6 -3
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/RY.cpp +5 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/RZ.cpp +5 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/RZ_P.cpp +5 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/SX.cpp +2 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/SYC.cpp +2 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/U3.cpp +33 -20
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/UN.cpp +2 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/X.cpp +2 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/Y.cpp +2 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/Z.cpp +2 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/Adaptive.h +3 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/CH.h +1 -1
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/CNOT.h +1 -1
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/CRY.h +3 -5
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/CZ.h +1 -1
- squander-1.9.2/squander/src-cpp/gates/include/CZ_NU.h +159 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/Composite.h +1 -1
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/Gate.h +101 -8
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/Gates_block.h +44 -5
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/H.h +2 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/ON.h +1 -1
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/RX.h +3 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/RY.h +3 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/RZ.h +2 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/RZ_P.h +3 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/SX.h +2 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/SYC.h +2 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/U3.h +5 -3
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/UN.h +2 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/X.h +2 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/Y.h +1 -1
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/Z.h +2 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/optimization_engines/ADAM.cpp +22 -1
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/optimization_engines/ADAM_BATCHED.cpp +16 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/optimization_engines/AGENTS.cpp +23 -1
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/optimization_engines/BAYES_AGENTS.cpp +23 -1
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/optimization_engines/BAYES_OPT.cpp +19 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/optimization_engines/BFGS.cpp +20 -2
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/optimization_engines/BFGS2.cpp +24 -1
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/optimization_engines/COSINE.cpp +12 -10
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/optimization_engines/GRAD_DESCEND.cpp +22 -1
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/optimization_engines/GRAD_DESCEND_PARAMETER_SHIFT_RULE.cpp +4 -6
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/variational_quantum_eigensolver/Variational_Quantum_Eigensolver_Base.cpp +5 -2
- {squander-1.9.0 → squander-1.9.2}/squander/utils.py +3 -1
- {squander-1.9.0 → squander-1.9.2/squander.egg-info}/PKG-INFO +1 -1
- {squander-1.9.0 → squander-1.9.2}/squander.egg-info/SOURCES.txt +11 -0
- squander-1.9.0/squander/__pycache__/__init__.cpython-310.pyc +0 -0
- squander-1.9.0/squander/decomposition/__pycache__/qgd_N_Qubit_Decomposition_adaptive.cpython-310.pyc +0 -0
- squander-1.9.0/squander/gates/__pycache__/qgd_CH.cpython-310.pyc +0 -0
- squander-1.9.0/squander/gates/__pycache__/qgd_CNOT.cpython-310.pyc +0 -0
- squander-1.9.0/squander/gates/__pycache__/qgd_CRY.cpython-310.pyc +0 -0
- squander-1.9.0/squander/gates/__pycache__/qgd_CZ.cpython-310.pyc +0 -0
- squander-1.9.0/squander/gates/__pycache__/qgd_Circuit.cpython-310.pyc +0 -0
- squander-1.9.0/squander/gates/__pycache__/qgd_H.cpython-310.pyc +0 -0
- squander-1.9.0/squander/gates/__pycache__/qgd_SX.cpython-310.pyc +0 -0
- squander-1.9.0/squander/gates/__pycache__/qgd_U3.cpython-310.pyc +0 -0
- squander-1.9.0/squander/gates/__pycache__/qgd_X.cpython-310.pyc +0 -0
- squander-1.9.0/squander/gates/__pycache__/qgd_Y.cpython-310.pyc +0 -0
- squander-1.9.0/squander/gates/__pycache__/qgd_Z.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/LICENSE +0 -0
- {squander-1.9.0 → squander-1.9.2}/MANIFEST.in +0 -0
- {squander-1.9.0 → squander-1.9.2}/README.md +0 -0
- {squander-1.9.0 → squander-1.9.2}/cmake/check_AVX.cmake +0 -0
- {squander-1.9.0 → squander-1.9.2}/setup.cfg +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/.nfs00000000124a108700000b3d +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/IO_interfaces/__init__.py +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/IO_interfaces/__pycache__/Qiskit_IO.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/IO_interfaces/__pycache__/__init__.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/IO_interfaces/__pycache__/__init__.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/__pycache__/__init__.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/__pycache__/utils.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/.nfs00000000124a108900000b3e +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/.nfs00000000124a108a00000b3f +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/.nfs00000000124a108b00000b40 +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/__init__.py +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/__pycache__/__init__.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/__pycache__/__init__.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/__pycache__/qgd_N_Qubit_Decomposition.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/__pycache__/qgd_N_Qubit_Decomposition_adaptive.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/__pycache__/qgd_N_Qubit_Decomposition_adaptive.cpython-38.pyc.140703368779504 +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/__pycache__/qgd_N_Qubit_Decomposition_custom.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/__pycache__/qgd_N_Qubit_State_Preparation_adaptive.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/__pycache__/qgd_N_Qubit_State_Preparation_adaptive.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/qgd_N_Qubit_Decomposition.py +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/qgd_N_Qubit_Decomposition_Wrapper.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/qgd_N_Qubit_Decomposition_adaptive_Wrapper.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/qgd_N_Qubit_Decomposition_custom.py +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/qgd_N_Qubit_Decomposition_custom_Wrapper.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/decomposition/qgd_N_Qubit_State_Preparation_adaptive.py +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/.nfs00000000124a108c00000b41 +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/.nfs00000000124a108d00000b42 +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/.nfs00000000124a108e00000b43 +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/.nfs00000000124a108f00000b44 +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/.nfs00000000124a109000000b46 +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/.nfs00000000124a109100000b45 +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/.nfs00000000124a109200000b47 +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/.nfs00000000124a109300000b48 +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/.nfs00000000124a109400000b4a +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/.nfs00000000124a109500000b49 +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/.nfs00000000124a109600000b4b +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/.nfs00000000124a109900000b4c +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/.nfs00000000124a109a00000b4d +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/.nfs00000000124a109b00000b4e +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/.nfs00000000124a109c00000b4f +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/CMakeLists.txt +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__init__.py +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/__init__.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/__init__.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_CH.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_CNOT.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_CRY.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_CZ.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_Circuit.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_H.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_RX.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_RY.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_RZ.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_SX.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_U3.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_X.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_Y.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/__pycache__/qgd_Z.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/gates/qgd_SYC.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/nn/.nfs00000000124a109d00000b50 +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/nn/CMakeLists.txt +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/nn/__init__.py +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/nn/__pycache__/__init__.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/nn/__pycache__/__init__.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/nn/__pycache__/qgd_nn.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/nn/__pycache__/qgd_nn.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/nn/qgd_nn.py +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/nn/qgd_nn_Wrapper.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/Adam.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/BFGS_Powell.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/Bayes_Opt.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/Powells_method.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/common.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/common_DFE.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/config_element.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/dot.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/grad_descend.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/Adam.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/BFGS_Powell.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/Bayes_Opt.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/Config.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/Config.h.in +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/Powells_method.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/common.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/common_DFE.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/config_element.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/dot.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/grad_descend.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/logging.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/matrix.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/matrix_base.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/matrix_real.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/matrix_sparse.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/mpi_base.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/include/numpy_interface.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/logging.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/matrix.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/matrix_real.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/matrix_sparse.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/mpi_base.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/common/numpy_interface.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/Sub_Matrix_Decomposition_Cost_Function.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/include/N_Qubit_Decomposition.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/include/N_Qubit_Decomposition_Cost_Function.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/include/N_Qubit_Decomposition_adaptive.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/include/N_Qubit_Decomposition_custom.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/include/Optimization_Interface.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/include/Sub_Matrix_Decomposition.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/decomposition/include/Sub_Matrix_Decomposition_Cost_Function.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/custom_kernel_1qubit_gate.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/include/custom_kernel_1qubit_gate.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/kernels/apply_kernel_to_input.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/kernels/apply_kernel_to_input_AVX.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/kernels/apply_kernel_to_state_vector_input.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/kernels/apply_kernel_to_state_vector_input_AVX.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/kernels/apply_large_kernel_to_input.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/kernels/apply_large_kernel_to_input_AVX.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/kernels/include/apply_kernel_to_input.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/kernels/include/apply_kernel_to_input_AVX.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/kernels/include/apply_kernel_to_state_vector_input.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/kernels/include/apply_kernel_to_state_vector_input_AVX.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/kernels/include/apply_large_kernel_to_input.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/kernels/include/apply_large_kernel_to_input_AVX.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/squander.egg-info/PKG-INFO +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/squander.egg-info/SOURCES.txt +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/squander.egg-info/dependency_links.txt +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/gates/squander.egg-info/top_level.txt +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/nn/NN.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/nn/include/NN.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/optimization_engines/RL_experience.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/optimization_engines/include/RL_experience.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/random_unitary/Random_Orthogonal.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/random_unitary/Random_Unitary.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/random_unitary/include/Random_Orthogonal.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/random_unitary/include/Random_Unitary.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/src-cpp/variational_quantum_eigensolver/include/Variational_Quantum_Eigensolver_Base.h +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/variational_quantum_eigensolver/.nfs00000000124a14fa00000b51 +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/variational_quantum_eigensolver/CMakeLists.txt +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/variational_quantum_eigensolver/__init__.py +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/variational_quantum_eigensolver/__pycache__/__init__.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/variational_quantum_eigensolver/__pycache__/__init__.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/variational_quantum_eigensolver/__pycache__/qgd_Variational_Quantum_Eigensolver_Base.cpython-310.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/variational_quantum_eigensolver/__pycache__/qgd_Variational_Quantum_Eigensolver_Base.cpython-38.pyc +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/variational_quantum_eigensolver/qgd_VQE_Base_Wrapper.cpp +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander/variational_quantum_eigensolver/qgd_Variational_Quantum_Eigensolver_Base.py +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander.egg-info/dependency_links.txt +0 -0
- {squander-1.9.0 → squander-1.9.2}/squander.egg-info/top_level.txt +0 -0
|
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.10.2)
|
|
|
3
3
|
# CMAKE to create the shared library of the quantum gate decomposition project
|
|
4
4
|
|
|
5
5
|
# set the project name and version
|
|
6
|
-
project(CQGD VERSION 1.9.
|
|
6
|
+
project(CQGD VERSION 1.9.2)
|
|
7
7
|
|
|
8
8
|
# reuse compilation time linking for use runtime linking
|
|
9
9
|
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
|
@@ -163,7 +163,7 @@ endif()
|
|
|
163
163
|
|
|
164
164
|
# setting basic compile flags
|
|
165
165
|
list(APPEND CXX_FLAGS_DEBUG "-Wall" "-Wpedantic" "-Wextra" "-fexceptions" "-DDEBUG" "-fno-builtin-malloc" "-fno-builtin-calloc" "-fno-builtin-realloc" "-fno-builtin-free" "-fpermissive")
|
|
166
|
-
list(APPEND CXX_FLAGS_RELEASE "-Wall" "-O3" "-m64" "-DNDEBUG" "-fno-builtin-malloc" "-fno-builtin-calloc" "-fno-builtin-realloc" "-fno-builtin-free" "-fpermissive")
|
|
166
|
+
list(APPEND CXX_FLAGS_RELEASE "-Wall" "-O3" "-m64" "-ggdb" "-DNDEBUG" "-fno-builtin-malloc" "-fno-builtin-calloc" "-fno-builtin-realloc" "-fno-builtin-free" "-fpermissive")
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
# checking for AVX/AVX2 support
|
|
@@ -318,6 +318,7 @@ list(APPEND qgd_files
|
|
|
318
318
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/common/BFGS_Powell.cpp
|
|
319
319
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/common/Powells_method.cpp
|
|
320
320
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/common/Bayes_Opt.cpp
|
|
321
|
+
${PROJECT_SOURCE_DIR}/squander/src-cpp/common/n_aryGrayCodeCounter.cpp
|
|
321
322
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/optimization_engines/RL_experience.cpp
|
|
322
323
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/optimization_engines/ADAM_BATCHED.cpp
|
|
323
324
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/optimization_engines/ADAM.cpp
|
|
@@ -349,6 +350,7 @@ list(APPEND qgd_files
|
|
|
349
350
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/gates/RX.cpp
|
|
350
351
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/gates/RZ.cpp
|
|
351
352
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/gates/RZ_P.cpp
|
|
353
|
+
${PROJECT_SOURCE_DIR}/squander/src-cpp/gates/CZ_NU.cpp
|
|
352
354
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/gates/custom_kernel_1qubit_gate.cpp
|
|
353
355
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/gates/Composite.cpp
|
|
354
356
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/gates/kernels/apply_kernel_to_input.cpp
|
|
@@ -363,6 +365,7 @@ list(APPEND qgd_files
|
|
|
363
365
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/decomposition/N_Qubit_Decomposition_Cost_Function.cpp
|
|
364
366
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/decomposition/Sub_Matrix_Decomposition_Cost_Function.cpp
|
|
365
367
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/decomposition/Sub_Matrix_Decomposition.cpp
|
|
368
|
+
${PROJECT_SOURCE_DIR}/squander/src-cpp/decomposition/N_Qubit_Decomposition_non_unitary_adaptive.cpp
|
|
366
369
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/variational_quantum_eigensolver/Variational_Quantum_Eigensolver_Base.cpp
|
|
367
370
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/random_unitary/Random_Unitary.cpp
|
|
368
371
|
${PROJECT_SOURCE_DIR}/squander/src-cpp/random_unitary/Random_Orthogonal.cpp
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: squander
|
|
3
|
-
Version: 1.9.
|
|
3
|
+
Version: 1.9.2
|
|
4
4
|
Summary: C++ library with Python interface to train quantum circuits, quantum gate synthesis and state preparation.
|
|
5
5
|
Home-page: https://github.com/rakytap/sequential-quantum-gate-decomposer
|
|
6
6
|
Maintainer: Peter Rakyta
|
|
@@ -32,7 +32,7 @@ from skbuild.cmaker import get_cmake_version
|
|
|
32
32
|
setup(
|
|
33
33
|
name="squander",
|
|
34
34
|
packages= [ 'squander' ],
|
|
35
|
-
version='1.9.
|
|
35
|
+
version='1.9.2',
|
|
36
36
|
url="https://github.com/rakytap/sequential-quantum-gate-decomposer",
|
|
37
37
|
maintainer="Peter Rakyta",
|
|
38
38
|
maintainer_email="peter.rakyta@ttk.elte.hu",
|
|
@@ -127,10 +127,14 @@ def get_Qiskit_Circuit( Squander_circuit, parameters ):
|
|
|
127
127
|
elif isinstance( gate, SX ):
|
|
128
128
|
# SX gate
|
|
129
129
|
circuit.sx( gate.get_Target_Qbit() )
|
|
130
|
+
|
|
131
|
+
elif isinstance( gate, Circuit ):
|
|
132
|
+
# Sub-circuit gate
|
|
133
|
+
raise ValueError("Qiskit export of circuits with subcircuit is not supported. Use Circuit::get_Flat_Circuit prior of exporting circuit.")
|
|
130
134
|
|
|
131
135
|
else:
|
|
132
136
|
print(gate)
|
|
133
|
-
raise ValueError("Unsupported gate in the circuit export
|
|
137
|
+
raise ValueError("Unsupported gate in the circuit export.")
|
|
134
138
|
|
|
135
139
|
return( circuit )
|
|
136
140
|
|
|
@@ -213,11 +217,15 @@ def get_Qiskit_Circuit_inverse( Squander_circuit, parameters ):
|
|
|
213
217
|
|
|
214
218
|
elif isinstance( gate, SX ):
|
|
215
219
|
# SX gate
|
|
216
|
-
circuit.sx( gate.get_Target_Qbit() )
|
|
220
|
+
circuit.sx( gate.get_Target_Qbit() )
|
|
221
|
+
|
|
222
|
+
elif isinstance( gate, Circuit ):
|
|
223
|
+
# Sub-circuit gate
|
|
224
|
+
raise ValueError("Qiskit export of circuits with subcircuit is not supported. Use Circuit::get_Flat_Circuit prior of exporting circuit.")
|
|
217
225
|
|
|
218
226
|
else:
|
|
219
227
|
print(gate)
|
|
220
|
-
raise ValueError("Unsupported gate in the circuit export
|
|
228
|
+
raise ValueError("Unsupported gate in the circuit export.")
|
|
221
229
|
#print( circuit )
|
|
222
230
|
return( circuit )
|
|
223
231
|
|
{squander-1.9.0 → squander-1.9.2}/squander/IO_interfaces/__pycache__/Qiskit_IO.cpython-310.pyc
RENAMED
|
Binary file
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
#decomposition classes
|
|
5
|
+
from squander.decomposition.qgd_N_Qubit_Decomposition_non_unitary_adaptive import qgd_N_Qubit_Decomposition_non_unitary_adaptive as N_Qubit_Decomposition_non_unitary_adaptive
|
|
5
6
|
from squander.decomposition.qgd_N_Qubit_Decomposition_adaptive import qgd_N_Qubit_Decomposition_adaptive as N_Qubit_Decomposition_adaptive
|
|
6
7
|
from squander.decomposition.qgd_N_Qubit_State_Preparation_adaptive import qgd_N_Qubit_State_Preparation_adaptive as N_Qubit_State_Preparation_adaptive
|
|
7
8
|
from squander.decomposition.qgd_N_Qubit_Decomposition_custom import qgd_N_Qubit_Decomposition_custom as N_Qubit_Decomposition_custom
|
|
@@ -29,8 +30,13 @@ from squander.gates.qgd_CRY import qgd_CRY as CRY
|
|
|
29
30
|
# quantum circuit
|
|
30
31
|
from squander.gates.qgd_Circuit import qgd_Circuit as Circuit
|
|
31
32
|
|
|
33
|
+
#SABRE
|
|
34
|
+
from squander.decomposition.qgd_SABRE import qgd_SABRE as SABRE
|
|
35
|
+
|
|
32
36
|
# Qiskit IO
|
|
33
37
|
from squander.IO_interfaces import Qiskit_IO
|
|
34
38
|
|
|
35
39
|
## NN component (experimental interface)
|
|
36
40
|
from squander.nn.qgd_nn import qgd_nn as NN
|
|
41
|
+
|
|
42
|
+
import squander.utils
|
|
Binary file
|
|
Binary file
|
|
@@ -94,6 +94,54 @@ install(TARGETS qgd_N_Qubit_Decomposition_adaptive_Wrapper LIBRARY
|
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
|
|
97
|
+
###############################################################################
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
add_library( qgd_N_Qubit_Decomposition_non_unitary_adaptive_Wrapper MODULE
|
|
101
|
+
${EXT_DIR}/qgd_N_Qubit_Decomposition_non_unitary_adaptive_Wrapper.cpp
|
|
102
|
+
${PROJECT_SOURCE_DIR}/squander/src-cpp/common/numpy_interface.cpp
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
ADD_DEPENDENCIES (qgd_N_Qubit_Decomposition_non_unitary_adaptive_Wrapper qgd)
|
|
107
|
+
|
|
108
|
+
target_link_libraries (qgd_N_Qubit_Decomposition_non_unitary_adaptive_Wrapper qgd ${BLAS_LIBRARIES} ${LAPACKE_LIBRARIES} ${TBB_LIB} ${TBBMALLOC_LIB})
|
|
109
|
+
|
|
110
|
+
python_extension_module(qgd_N_Qubit_Decomposition_non_unitary_adaptive_Wrapper)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
# adding compile options
|
|
114
|
+
target_compile_options(qgd_N_Qubit_Decomposition_non_unitary_adaptive_Wrapper PRIVATE
|
|
115
|
+
${CXX_FLAGS}
|
|
116
|
+
"$<$<CONFIG:Debug>:${CXX_FLAGS_DEBUG}>"
|
|
117
|
+
"$<$<CONFIG:Release>:${CXX_FLAGS_RELEASE}>"
|
|
118
|
+
"-DCPYTHON"
|
|
119
|
+
)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
target_include_directories(qgd_N_Qubit_Decomposition_non_unitary_adaptive_Wrapper PRIVATE
|
|
123
|
+
${PYTHON_INCLUDE_DIR}
|
|
124
|
+
${NUMPY_INC_DIR}
|
|
125
|
+
${PROJECT_SOURCE_DIR}/squander/src-cpp/decomposition/include
|
|
126
|
+
${PROJECT_SOURCE_DIR}/squander/src-cpp/gates/include
|
|
127
|
+
${PROJECT_SOURCE_DIR}/squander/src-cpp/common/include
|
|
128
|
+
${EXTRA_INCLUDES})
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
set_target_properties( qgd_N_Qubit_Decomposition_non_unitary_adaptive_Wrapper PROPERTIES
|
|
132
|
+
INSTALL_RPATH "$ORIGIN/.."
|
|
133
|
+
LIBRARY_OUTPUT_DIRECTORY ${EXT_DIR}
|
|
134
|
+
)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
install(TARGETS qgd_N_Qubit_Decomposition_non_unitary_adaptive_Wrapper LIBRARY
|
|
140
|
+
DESTINATION squander/decomposition)
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
97
145
|
###############################################################################
|
|
98
146
|
|
|
99
147
|
|
|
Binary file
|
squander-1.9.2/squander/decomposition/__pycache__/qgd_N_Qubit_Decomposition_adaptive.cpython-310.pyc
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
{squander-1.9.0 → squander-1.9.2}/squander/decomposition/qgd_N_Qubit_Decomposition_adaptive.py
RENAMED
|
@@ -404,6 +404,14 @@ class qgd_N_Qubit_Decomposition_adaptive(qgd_N_Qubit_Decomposition_adaptive_Wrap
|
|
|
404
404
|
def set_Unitary( self, Umtx_arr ):
|
|
405
405
|
|
|
406
406
|
return super().set_Unitary( Umtx_arr )
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
##
|
|
410
|
+
# @brief Call to set the error tolerance of the decomposition
|
|
411
|
+
# @param tolerance Error tolerance given as a floating point number
|
|
412
|
+
def set_Optimization_Tolerance( self, tolerance ):
|
|
413
|
+
|
|
414
|
+
return super().set_Optimization_Tolerance( tolerance )
|
|
407
415
|
|
|
408
416
|
##
|
|
409
417
|
# @brief Call to get unitary matrix
|