Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyPECOS #53

Closed
wants to merge 40 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
9f2574e
Added .sim_name to QOps. Added angle info to QOp.angle
ciaranra Dec 13, 2023
9fd0b41
Added code to identify Clifford gates from more general gates
ciaranra Dec 14, 2023
295224f
Added conversion to Clifford support for RZ , RZZ, and R1XY
ciaranra Dec 15, 2023
a495096
Merge branch 'development' into add-resolved-name
ciaranra Dec 18, 2023
8900213
Merge branch 'development' into add-resolved-name
ciaranra Jan 5, 2024
a872287
Tweaking generic machine to clear state
ciaranra Jan 19, 2024
a0e9f6f
Merge branch 'development' into add-resolved-name
ciaranra Jan 19, 2024
9a7d58e
Add test of operation type before running qsims.
ciaranra Jan 27, 2024
2e55368
Merge branch 'development' into add-resolved-name
ciaranra Feb 1, 2024
a921738
Merge branch 'development' into add-resolved-name
ciaranra Feb 9, 2024
bbf82fd
Adding general Instr type and list types
ciaranra Feb 13, 2024
619f122
Adding slr code
ciaranra Feb 14, 2024
80be342
Updated linting/formatting
ciaranra Feb 14, 2024
5b4b6ed
Moving slr down to reduce nesting
ciaranra Feb 15, 2024
19349c9
fix slr __version__
ciaranra Feb 19, 2024
abf7b00
Merge branch 'feat-hybrid-noise-fix' into slr
ciaranra Feb 19, 2024
fe198f3
Merge branch 'add-resolved-name' into slr
ciaranra Feb 19, 2024
cce2cd6
Creating a slr.std folder to hold common extension to core to the DSL
ciaranra Feb 21, 2024
3104bde
Fixing std import
ciaranra Feb 22, 2024
d960f93
Adding in duration for MOps in PyPMIR
ciaranra Feb 27, 2024
bdc34f5
Adding Rust (#51)
ciaranra Feb 29, 2024
339d4f4
Restructuring to create pypecos
ciaranra Mar 2, 2024
6aae0ca
Moving cython code into python/
ciaranra Mar 2, 2024
0124f2a
Moved cypecos to pypecos-cysim + moved tests into pypecos/
ciaranra Mar 4, 2024
a709e1d
update workflow directory
ciaranra Mar 4, 2024
a22c037
Updated workflow python to wheel
ciaranra Mar 4, 2024
f95109e
Update workflow python to wheel 2
ciaranra Mar 4, 2024
a0a5c98
fixed bad pytest import
ciaranra Mar 4, 2024
77ceb03
Fixing installation of wheel in workflow
ciaranra Mar 4, 2024
12adcdd
Modifying qargs in mops appropriately.
ciaranra Mar 7, 2024
62b4489
Moving the old cuquantum code to cuquantum_old for now...
ciaranra Mar 7, 2024
0a4c6c0
Merge remote-tracking branch 'origin/development' into slr
ciaranra Mar 7, 2024
2bbe693
move pypecos-cysim -> pypecos-cylib to keep things general
ciaranra Mar 9, 2024
3393f2f
Merge branch 'slr' into pypecos
ciaranra Mar 9, 2024
9110a08
Reducing number of Rust library stubs to simplify
ciaranra Mar 10, 2024
746af26
Separating out a pypecos-rslib package.
ciaranra Mar 10, 2024
0cfe761
Removing Rust from pypecos
ciaranra Mar 10, 2024
26ae07e
Fixing GitHub workflows
ciaranra Mar 10, 2024
b3377cd
Update workflow to separate out rslib
ciaranra Mar 14, 2024
09fd919
Adding GitHub Rust workflow
ciaranra Mar 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move pypecos-cysim -> pypecos-cylib to keep things general
  • Loading branch information
ciaranra committed Mar 9, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 2bbe693db550f530fa61923d5a502780858ffd68
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -15,4 +15,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ========================================================================= #
from pypecos_cysim.cysparsesim.cysparsesim import SparseSim as CySparseSim
from pypecos_cylib.cysparsesim.cysparsesim import SparseSim as CySparseSim
Original file line number Diff line number Diff line change
@@ -16,10 +16,10 @@
# limitations under the License.
# ========================================================================= #

from pypecos_cysim.cysparsesim cimport cysparsesim_header as s
from pypecos_cysim.cysparsesim.cysparsesim_header cimport int_num, bool
from pypecos_cylib.cysparsesim cimport cysparsesim_header as s
from pypecos_cylib.cysparsesim.cysparsesim_header cimport int_num, bool

from pypecos_cysim.cysparsesim.logical_sign import find_logical_signs
from pypecos_cylib.cysparsesim.logical_sign import find_logical_signs

cdef dict bindings = {

Original file line number Diff line number Diff line change
@@ -3,12 +3,12 @@ requires = ["setuptools", "wheel", "Cython"]
build-backend = "setuptools.build_meta"

[project]
name = "pypecos-cysim"
name = "pypecos-cylib"
version = "0.1.0"
description = "C++/Cython extensions for Python PECOS."

[tool.setuptools]
packages = ["pypecos_cysim", "pypecos_cysim.cysparsesim"]
packages = ["pypecos_cylib", "pypecos_cylib.cysparsesim"]

# testing
# -------
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@

# Temporarily copy C++ files
cpp_src_path = "../../cpp/sparsesim"
temp_include_path = "pypecos_cysim/cysparsesim/src/"
temp_include_path = "pypecos_cylib/cysparsesim/src/"

# Ensure the target directory exists
os.makedirs(temp_include_path, exist_ok=True)
@@ -41,10 +41,10 @@

ext_modules = [
Extension(
"pypecos_cysim.cysparsesim.cysparsesim",
"pypecos_cylib.cysparsesim.cysparsesim",
sources=[
"pypecos_cysim/cysparsesim/cysparsesim.pyx",
"pypecos_cysim/cysparsesim/src/sparsesim.cpp",
"pypecos_cylib/cysparsesim/cysparsesim.pyx",
"pypecos_cylib/cysparsesim/src/sparsesim.cpp",
],
include_dirs=[temp_include_path],
language="c++",