QuPRS 0.2.0__tar.gz → 0.2.1__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.

Potentially problematic release.


This version of QuPRS might be problematic. Click here for more details.

Files changed (34) hide show
  1. quprs-0.2.1/.github/workflows/docker-build.yml +50 -0
  2. {quprs-0.2.0 → quprs-0.2.1}/.github/workflows/python-publish.yml +1 -1
  3. {quprs-0.2.0 → quprs-0.2.1}/PKG-INFO +1 -1
  4. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/_version.py +2 -2
  5. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS.egg-info/PKG-INFO +1 -1
  6. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS.egg-info/SOURCES.txt +1 -0
  7. {quprs-0.2.0 → quprs-0.2.1}/.github/workflows/pytest.yml +0 -0
  8. {quprs-0.2.0 → quprs-0.2.1}/.gitignore +0 -0
  9. {quprs-0.2.0 → quprs-0.2.1}/LICENSE.md +0 -0
  10. {quprs-0.2.0 → quprs-0.2.1}/MANIFEST.in +0 -0
  11. {quprs-0.2.0 → quprs-0.2.1}/NOTICE.md +0 -0
  12. {quprs-0.2.0 → quprs-0.2.1}/README.md +0 -0
  13. {quprs-0.2.0 → quprs-0.2.1}/pyproject.toml +0 -0
  14. {quprs-0.2.0 → quprs-0.2.1}/setup.cfg +0 -0
  15. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/__init__.py +0 -0
  16. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/cache_manager/__init__.py +0 -0
  17. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/cache_manager/cache_decorator.py +0 -0
  18. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/cache_manager/global_cache_manager.py +0 -0
  19. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/config.py +0 -0
  20. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/interface/__init__.py +0 -0
  21. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/interface/gate_library.py +0 -0
  22. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/interface/load_qiskit.py +0 -0
  23. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/interface/ps2wmc.py +0 -0
  24. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/interface/qasm2qc.py +0 -0
  25. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/pathsum.py +0 -0
  26. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/utils/Qiskit_Circuit_Utils.py +0 -0
  27. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/utils/__init__.py +0 -0
  28. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/utils/gpmc +0 -0
  29. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/utils/reduction.py +0 -0
  30. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/utils/strategy.py +0 -0
  31. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS/utils/util.py +0 -0
  32. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS.egg-info/dependency_links.txt +0 -0
  33. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS.egg-info/requires.txt +0 -0
  34. {quprs-0.2.0 → quprs-0.2.1}/src/QuPRS.egg-info/top_level.txt +0 -0
@@ -0,0 +1,50 @@
1
+ name: Build and Push to Multiple Registries
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+
7
+ jobs:
8
+ build-and-push:
9
+ runs-on: ubuntu-latest
10
+
11
+ # Step 1: Set permissions
12
+ # To push to GHCR, packages: write permission is required
13
+ permissions:
14
+ contents: read
15
+ packages: write
16
+
17
+ steps:
18
+ # Step 2: Checkout your project source code
19
+ - name: Checkout repository
20
+ uses: actions/checkout@v4
21
+
22
+ # Step 3: Log in to GitHub Container Registry (GHCR)
23
+ - name: Log in to GHCR
24
+ uses: docker/login-action@v3
25
+ with:
26
+ registry: ghcr.io
27
+ username: ${{ github.actor }}
28
+ password: ${{ secrets.GITHUB_TOKEN }}
29
+
30
+ # Step 4: Log in to Docker Hub
31
+ - name: Log in to Docker Hub
32
+ uses: docker/login-action@v3
33
+ with:
34
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
35
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
36
+
37
+ # Step 5: Build the image and push to all registries at once
38
+ # This is the most important step
39
+ - name: Build and push to both registries
40
+ uses: docker/build-push-action@v5
41
+ with:
42
+ context: .
43
+ push: true
44
+ # Key: Use multiline string to define all target tags
45
+ # The action will parse each tag and push to the corresponding registry
46
+ tags: |
47
+ ghcr.io/${{ github.repository }}:latest
48
+ ghcr.io/${{ github.repository }}:${{ github.sha }}
49
+ ${{ secrets.DOCKERHUB_USERNAME }}/quprs:latest
50
+ ${{ secrets.DOCKERHUB_USERNAME }}/quprs:${{ github.sha }}
@@ -52,5 +52,5 @@ jobs:
52
52
  body: |
53
53
  ## 🚀 Release Notes
54
54
  * **📦 Version:** `${{ github.ref_name }}`
55
- * **🔗 PyPI Link:** https://pypi.org/project/${{ github.repository_owner }}/${{ github.event.repository.name }}/${{ github.ref_name }}
55
+ * **🔗 PyPI Link:** https://pypi.org/project/${{ github.event.repository.name }}/${{ github.ref_name }}
56
56
  * 🛠️ This release was automatically generated by GitHub Actions.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: QuPRS
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: QuPRS: Quantum Path-sum Reduction and Solver
5
5
  Author-email: Wei-Jia Huang <wei.jia.huang.physics@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/PhysicsQoo/QuPRS
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '0.2.0'
21
- __version_tuple__ = version_tuple = (0, 2, 0)
20
+ __version__ = version = '0.2.1'
21
+ __version_tuple__ = version_tuple = (0, 2, 1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: QuPRS
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: QuPRS: Quantum Path-sum Reduction and Solver
5
5
  Author-email: Wei-Jia Huang <wei.jia.huang.physics@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/PhysicsQoo/QuPRS
@@ -4,6 +4,7 @@ MANIFEST.in
4
4
  NOTICE.md
5
5
  README.md
6
6
  pyproject.toml
7
+ .github/workflows/docker-build.yml
7
8
  .github/workflows/pytest.yml
8
9
  .github/workflows/python-publish.yml
9
10
  src/QuPRS/__init__.py
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes