amplify-quantum 1.0.0rc3__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.
Files changed (85) hide show
  1. amplify_quantum-1.0.0rc3/.gitignore +13 -0
  2. amplify_quantum-1.0.0rc3/.gitlab/issue_templates/Release.md +13 -0
  3. amplify_quantum-1.0.0rc3/.gitlab-ci.yml +397 -0
  4. amplify_quantum-1.0.0rc3/LICENSE.txt +203 -0
  5. amplify_quantum-1.0.0rc3/PKG-INFO +38 -0
  6. amplify_quantum-1.0.0rc3/README.md +6 -0
  7. amplify_quantum-1.0.0rc3/docker/Dockerfile.rockylinux10 +12 -0
  8. amplify_quantum-1.0.0rc3/docker/Dockerfile.rockylinux9 +10 -0
  9. amplify_quantum-1.0.0rc3/docker/Dockerfile.ubuntu2204 +13 -0
  10. amplify_quantum-1.0.0rc3/docker/Dockerfile.ubuntu2404 +37 -0
  11. amplify_quantum-1.0.0rc3/examples/solve_with_aer_qaoa.py +89 -0
  12. amplify_quantum-1.0.0rc3/examples/solve_with_braket_local_qaoa.py +90 -0
  13. amplify_quantum-1.0.0rc3/examples/solve_with_custom_algo.py +88 -0
  14. amplify_quantum-1.0.0rc3/examples/solve_with_custom_minimize.py +87 -0
  15. amplify_quantum-1.0.0rc3/examples/solve_with_qulacs_qaoa.py +91 -0
  16. amplify_quantum-1.0.0rc3/examples/solve_with_rqaoa.py +27 -0
  17. amplify_quantum-1.0.0rc3/pyproject.toml +203 -0
  18. amplify_quantum-1.0.0rc3/src/amplify_quantum/__init__.py +113 -0
  19. amplify_quantum-1.0.0rc3/src/amplify_quantum/__version__.py +24 -0
  20. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/__init__.py +4 -0
  21. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/base.py +76 -0
  22. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/qaoa/__init__.py +42 -0
  23. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/qaoa/components.py +399 -0
  24. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/qaoa/impls/__init__.py +10 -0
  25. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/qaoa/impls/qaoa_auto.py +40 -0
  26. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/qaoa/impls/qaoa_n_hot.py +45 -0
  27. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/qaoa/impls/qaoa_original.py +45 -0
  28. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/qaoa/interface.py +215 -0
  29. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/qaoa/run.py +216 -0
  30. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/qaoa/type.py +282 -0
  31. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/rqaoa/__init__.py +23 -0
  32. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/rqaoa/details.py +312 -0
  33. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/rqaoa/interface.py +221 -0
  34. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/rqaoa/type.py +113 -0
  35. amplify_quantum-1.0.0rc3/src/amplify_quantum/algo/utility.py +159 -0
  36. amplify_quantum-1.0.0rc3/src/amplify_quantum/circuit/__init__.py +4 -0
  37. amplify_quantum-1.0.0rc3/src/amplify_quantum/circuit/base.py +127 -0
  38. amplify_quantum-1.0.0rc3/src/amplify_quantum/circuit/qiskit.py +235 -0
  39. amplify_quantum-1.0.0rc3/src/amplify_quantum/circuit/qulacs.py +227 -0
  40. amplify_quantum-1.0.0rc3/src/amplify_quantum/client/__init__.py +4 -0
  41. amplify_quantum-1.0.0rc3/src/amplify_quantum/client/aer.py +214 -0
  42. amplify_quantum-1.0.0rc3/src/amplify_quantum/client/aqt.py +153 -0
  43. amplify_quantum-1.0.0rc3/src/amplify_quantum/client/base.py +152 -0
  44. amplify_quantum-1.0.0rc3/src/amplify_quantum/client/braketsimulator.py +109 -0
  45. amplify_quantum-1.0.0rc3/src/amplify_quantum/client/ibm.py +175 -0
  46. amplify_quantum-1.0.0rc3/src/amplify_quantum/client/ionq.py +154 -0
  47. amplify_quantum-1.0.0rc3/src/amplify_quantum/client/iqm.py +154 -0
  48. amplify_quantum-1.0.0rc3/src/amplify_quantum/client/qulacs.py +45 -0
  49. amplify_quantum-1.0.0rc3/src/amplify_quantum/client/rigetti.py +154 -0
  50. amplify_quantum-1.0.0rc3/src/amplify_quantum/minimize/__init__.py +4 -0
  51. amplify_quantum-1.0.0rc3/src/amplify_quantum/minimize/base.py +57 -0
  52. amplify_quantum-1.0.0rc3/src/amplify_quantum/minimize/no_op.py +80 -0
  53. amplify_quantum-1.0.0rc3/src/amplify_quantum/minimize/scipy.py +168 -0
  54. amplify_quantum-1.0.0rc3/src/amplify_quantum/sampler/__init__.py +4 -0
  55. amplify_quantum-1.0.0rc3/src/amplify_quantum/sampler/base.py +92 -0
  56. amplify_quantum-1.0.0rc3/src/amplify_quantum/sampler/braket.py +557 -0
  57. amplify_quantum-1.0.0rc3/src/amplify_quantum/sampler/qiskit.py +654 -0
  58. amplify_quantum-1.0.0rc3/src/amplify_quantum/sampler/qulacs.py +119 -0
  59. amplify_quantum-1.0.0rc3/src/amplify_quantum/utils/braket.py +110 -0
  60. amplify_quantum-1.0.0rc3/tasks.py +190 -0
  61. amplify_quantum-1.0.0rc3/test/config.py +4 -0
  62. amplify_quantum-1.0.0rc3/test/conftest.py +43 -0
  63. amplify_quantum-1.0.0rc3/test/test-projects/local-pypi.toml +27 -0
  64. amplify_quantum-1.0.0rc3/test/test-projects/test-pypi.toml +27 -0
  65. amplify_quantum-1.0.0rc3/test/test_algo_qaoa.py +281 -0
  66. amplify_quantum-1.0.0rc3/test/test_algo_rqaoa.py +394 -0
  67. amplify_quantum-1.0.0rc3/test/test_circuit_qaoa.py +181 -0
  68. amplify_quantum-1.0.0rc3/test/test_client_aqt_qaoa.py +102 -0
  69. amplify_quantum-1.0.0rc3/test/test_client_braketsimulator_qaoa.py +90 -0
  70. amplify_quantum-1.0.0rc3/test/test_client_common.py +324 -0
  71. amplify_quantum-1.0.0rc3/test/test_client_ionq_qaoa.py +117 -0
  72. amplify_quantum-1.0.0rc3/test/test_client_iqm_qaoa.py +109 -0
  73. amplify_quantum-1.0.0rc3/test/test_client_qiskit_qaoa.py +189 -0
  74. amplify_quantum-1.0.0rc3/test/test_client_qulacs_qaoa.py +64 -0
  75. amplify_quantum-1.0.0rc3/test/test_client_rigetti_qaoa.py +110 -0
  76. amplify_quantum-1.0.0rc3/test/test_client_sampling.py +149 -0
  77. amplify_quantum-1.0.0rc3/test/test_sampler_base.py +90 -0
  78. amplify_quantum-1.0.0rc3/test/test_sampler_braket.py +235 -0
  79. amplify_quantum-1.0.0rc3/test/test_sampler_common_solve_one_hot.py +42 -0
  80. amplify_quantum-1.0.0rc3/test/test_sampler_common_solve_simple_problems.py +359 -0
  81. amplify_quantum-1.0.0rc3/test/test_sampler_common_solve_specific_problems.py +45 -0
  82. amplify_quantum-1.0.0rc3/test/test_sampler_qiskit.py +263 -0
  83. amplify_quantum-1.0.0rc3/test/test_sampler_qulacs.py +18 -0
  84. amplify_quantum-1.0.0rc3/test/utility.py +428 -0
  85. amplify_quantum-1.0.0rc3/uv.lock +4142 -0
@@ -0,0 +1,13 @@
1
+ # Development
2
+ .venv/
3
+ .vscode/
4
+ build/
5
+ dist/
6
+ *.egg-info
7
+ deploy.sh
8
+ .pytest_cache/
9
+ __pycache__
10
+ public/
11
+ __version__.py
12
+ .cache/
13
+ out/
@@ -0,0 +1,13 @@
1
+ Release vX.X.X
2
+
3
+ ## リリース手順
4
+
5
+ * [ ] `README.md` の更新
6
+ * [ ] `LICENSE.txt` の更新
7
+ * [ ] [タグの作成](./tags/new) とメッセージの記載 (`Release vX.X.X`)
8
+ * [ ] TestPyPI に正しいバージョンでアップロードされたことを確認
9
+ * [ ] PyPI に正しいバージョンでアップロードされたことを確認
10
+ * [ ] TestPyPI にある古いバージョンのパッケージを削除
11
+ * [ ] [リリースの作成](./releases/new)
12
+ * [ ] Amplify Webサイトのドキュメントページの更新
13
+ * [ ] マイルストーンのクローズ
@@ -0,0 +1,397 @@
1
+ workflow:
2
+ rules:
3
+ - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
4
+ - if: "$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS"
5
+ when: never
6
+ - if: "$CI_COMMIT_BRANCH || $CI_COMMIT_TAG"
7
+
8
+ stages:
9
+ - prepare
10
+ - test
11
+ - release
12
+ - release_test
13
+ - format
14
+ - publish
15
+
16
+ variables:
17
+ GIT_STRATEGY: clone
18
+ LATEST_PYTHON_VER: "3.13"
19
+ UV_CACHE_DIR: $CI_PROJECT_DIR/.cache/uv
20
+ UV_PYTHON_CACHE_DIR: $CI_PROJECT_DIR/.cache/uv-python
21
+ UV_NO_PROGRESS: 1
22
+
23
+ default:
24
+ interruptible: true
25
+ cache:
26
+ key:
27
+ files:
28
+ - uv.lock
29
+ paths:
30
+ - $UV_CACHE_DIR
31
+
32
+ docker build:
33
+ stage: prepare
34
+ resource_group: docker build
35
+ script:
36
+ - docker system prune -f --filter "until=720h" --filter "label=repository=${CI_PROJECT_URL}"
37
+ - docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG -f docker/Dockerfile.$OS_NAME .
38
+ variables:
39
+ OS_NAME: "ubuntu2404"
40
+ tags:
41
+ - shell
42
+ - epyc128
43
+
44
+ docker build for release test:
45
+ stage: prepare
46
+ resource_group: docker build
47
+ script:
48
+ - docker system prune -f --filter "until=720h" --filter "label=repository=${CI_PROJECT_URL}"
49
+ - docker build -t $CI_REGISTRY_IMAGE:${CI_COMMIT_REF_SLUG}-${OS_NAME} -f docker/Dockerfile.$OS_NAME .
50
+ parallel:
51
+ matrix:
52
+ - OS_NAME:
53
+ - "rockylinux9"
54
+ - "rockylinux10"
55
+ - "ubuntu2204"
56
+ - "ubuntu2404"
57
+ RUNNER: [epyc128, linux-arm64]
58
+ rules:
59
+ - if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+/'
60
+ - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
61
+ - when: manual
62
+ allow_failure: true
63
+ tags:
64
+ - shell
65
+ - $RUNNER
66
+
67
+ code quality:
68
+ stage: test
69
+ image: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
70
+ variables:
71
+ PYTHON_VERSION: $LATEST_PYTHON_VER
72
+ script:
73
+ - uv sync --python $PYTHON_VERSION
74
+ - uv run gitlab-cq --output gl-code-quality-report.json ruff check --target-version py3${PYTHON_VERSION:2} .
75
+ - uv run gitlab-cq --output gl-code-quality-report.json --merge pyright
76
+ artifacts:
77
+ reports:
78
+ codequality: gl-code-quality-report.json
79
+ tags:
80
+ - docker
81
+ - epyc128
82
+
83
+ unit test (default tests):
84
+ stage: test
85
+ image: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
86
+ variables:
87
+ PYTHON_VERSION: $LATEST_PYTHON_VER
88
+ script:
89
+ - mkdir -p ~/.aws
90
+ - cp ${AWS_CREDENTIALS_FILE} ~/.aws/credentials
91
+ - cp ${AWS_CONFIG_FILE} ~/.aws/config
92
+ - uv run --python $PYTHON_VERSION pytest -vs --durations=0 -n6 test --reruns 5 --reruns-delay 1 --only-rerun RuntimeError --only-rerun FlakyTestError --cov=src --cov-report term --cov-report xml:coverage.xml
93
+ coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
94
+ artifacts:
95
+ reports:
96
+ coverage_report:
97
+ coverage_format: cobertura
98
+ path: coverage.xml
99
+ tags:
100
+ - docker
101
+ - epyc128
102
+
103
+ unit test (heavy tests):
104
+ stage: test
105
+ image: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
106
+ variables:
107
+ PYTHON_VERSION: $LATEST_PYTHON_VER
108
+ script:
109
+ - uv run --python $PYTHON_VERSION pytest -vs --durations=0 --skip-default --heavy -n6 test --reruns 5 --reruns-delay 1 --only-rerun RuntimeError --only-rerun FlakyTestError
110
+ rules:
111
+ - if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+/'
112
+ - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
113
+ - when: manual
114
+ allow_failure: true
115
+ tags:
116
+ - docker
117
+ - epyc128
118
+
119
+ unit test (qpu tests):
120
+ stage: test
121
+ image: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
122
+ variables:
123
+ PYTHON_VERSION: $LATEST_PYTHON_VER
124
+ script:
125
+ - mkdir -p ~/.aws
126
+ - cp ${AWS_CREDENTIALS_FILE} ~/.aws/credentials
127
+ - cp ${AWS_CONFIG_FILE} ~/.aws/config
128
+ - uv run --python $PYTHON_VERSION pytest -vs --durations=0 --skip-default --qpu -n6 test --reruns 5 --reruns-delay 1 --only-rerun RuntimeError --only-rerun FlakyTestError
129
+ rules:
130
+ - if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+/'
131
+ - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
132
+ - when: manual
133
+ allow_failure: true
134
+ tags:
135
+ - docker
136
+ - epyc128
137
+
138
+ test examples:
139
+ stage: test
140
+ image: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
141
+ variables:
142
+ PYTHON_VERSION: $LATEST_PYTHON_VER
143
+ script:
144
+ - uv sync --python $PYTHON_VERSION --no-dev
145
+ - uv run --no-dev --all-extras examples/solve_with_custom_algo.py
146
+ - uv run --no-dev --all-extras --with optuna examples/solve_with_custom_minimize.py
147
+ - uv run --no-dev --all-extras examples/solve_with_aer_qaoa.py
148
+ - uv run --no-dev --all-extras examples/solve_with_qulacs_qaoa.py
149
+ tags:
150
+ - docker
151
+ - epyc128
152
+
153
+ test typecheck:
154
+ stage: test
155
+ image: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
156
+ script:
157
+ - uv run --python $PYTHON_VERSION invoke typecheck
158
+ parallel:
159
+ matrix:
160
+ - PYTHON_VERSION:
161
+ - "3.10"
162
+ - "3.11"
163
+ - "3.12"
164
+ - "3.13"
165
+ tags:
166
+ - docker
167
+ - epyc128
168
+
169
+ local release:
170
+ stage: release
171
+ image: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
172
+ variables:
173
+ PYTHON_VERSION: $LATEST_PYTHON_VER
174
+ GIT_DEPTH: 0
175
+ script:
176
+ - uv sync --python $PYTHON_VERSION
177
+ - uv build
178
+ - uv publish --check-url ${LOCAL_PYPI_CHECK_URL} --publish-url ${LOCAL_PYPI_PUBLISH_URL} -u . -p . dist/*
179
+ rules:
180
+ - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
181
+ when: on_success
182
+ - when: manual
183
+ allow_failure: true
184
+ environment:
185
+ name: local release
186
+ deployment_tier: staging
187
+ tags:
188
+ - docker
189
+ - epyc128
190
+
191
+ local install test linux:
192
+ stage: release_test
193
+ image: $CI_REGISTRY_IMAGE:${CI_COMMIT_REF_SLUG}-${OS_NAME}
194
+ script:
195
+ - mkdir -p ~/.aws
196
+ - cp ${AWS_CREDENTIALS_FILE} ~/.aws/credentials
197
+ - cp ${AWS_CONFIG_FILE} ~/.aws/config
198
+ - rm -f uv.lock pyproject.toml
199
+ - uv venv --clear --no-project --python $PYTHON_VERSION
200
+ - cp test/test-projects/local-pypi.toml pyproject.toml
201
+ - uv run --python $PYTHON_VERSION pytest -vs test --reruns 5 --reruns-delay 1 --only-rerun RuntimeError --only-rerun FlakyTestError
202
+ # FIXME: amplify 1.6.0 リリース後に有効化
203
+ # - uv run --python $PYTHON_VERSION invoke typecheck --path=examples
204
+ parallel:
205
+ matrix:
206
+ - OS_NAME: ["rockylinux10", "ubuntu2404"]
207
+ PYTHON_VERSION: ["3.10", "3.13"]
208
+ RUNNER: [epyc128]
209
+ rules:
210
+ - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
211
+ when: on_success
212
+ - when: manual
213
+ allow_failure: true
214
+ needs:
215
+ - job: local release
216
+ optional: true
217
+ artifacts: false
218
+ tags: [docker, $RUNNER]
219
+
220
+ local install test many linux:
221
+ stage: release_test
222
+ image: $CI_REGISTRY_IMAGE:${CI_COMMIT_REF_SLUG}-${OS_NAME}
223
+ script:
224
+ - mkdir -p ~/.aws
225
+ - cp ${AWS_CREDENTIALS_FILE} ~/.aws/credentials
226
+ - cp ${AWS_CONFIG_FILE} ~/.aws/config
227
+ - rm -f uv.lock pyproject.toml
228
+ - uv venv --clear --no-project --python $PYTHON_VERSION
229
+ - cp test/test-projects/local-pypi.toml pyproject.toml
230
+ - uv run --python $PYTHON_VERSION pytest -vs test --reruns 5 --reruns-delay 1 --only-rerun RuntimeError --only-rerun FlakyTestError
231
+ parallel:
232
+ matrix:
233
+ - OS_NAME: ["rockylinux9", "rockylinux10", "ubuntu2204", "ubuntu2404"]
234
+ PYTHON_VERSION: ["3.10", "3.11", "3.12", "3.13", "3.14"]
235
+ RUNNER: [epyc128, linux-arm64]
236
+ rules:
237
+ - when: manual
238
+ allow_failure: true
239
+ needs:
240
+ - job: local release
241
+ optional: true
242
+ artifacts: false
243
+ tags: [docker, $RUNNER]
244
+
245
+ local install test macOS:
246
+ stage: release_test
247
+ script:
248
+ - mkdir -p ~/.aws
249
+ - cp ${AWS_CREDENTIALS_FILE} ~/.aws/credentials
250
+ - cp ${AWS_CONFIG_FILE} ~/.aws/config
251
+ - rm -f uv.lock pyproject.toml
252
+ - uv venv --clear --no-project --python $PYTHON_VERSION
253
+ - cp test/test-projects/local-pypi.toml pyproject.toml
254
+ - uv run --python $PYTHON_VERSION pytest -vs test --reruns 5 --reruns-delay 1 --only-rerun RuntimeError --only-rerun FlakyTestError
255
+ parallel:
256
+ matrix:
257
+ - PYTHON_VERSION: ["3.10", "3.11", "3.12", "3.13", "3.14"]
258
+ RUNNER: [macos-amd64, macos-arm64]
259
+ rules:
260
+ - when: manual
261
+ allow_failure: true
262
+ needs:
263
+ - job: local release
264
+ optional: true
265
+ artifacts: false
266
+ tags: [shell, $RUNNER]
267
+
268
+ local install test Windows:
269
+ stage: release_test
270
+ script:
271
+ - mkdir -Force ~/.aws
272
+ - cp ${AWS_CREDENTIALS_FILE} ~/.aws/credentials
273
+ - cp ${AWS_CONFIG_FILE} ~/.aws/config
274
+ - chcp 65001
275
+ - "$PSDefaultParameterValues['*:Encoding'] = 'utf8'"
276
+ - "$OutputEncoding = [Text.Encoding]::UTF8"
277
+ - "[Console]::OutputEncoding = [Text.Encoding]::UTF8"
278
+ - rm uv.lock -ErrorAction Ignore
279
+ - rm pyproject.toml -ErrorAction Ignore
280
+ - uv venv --clear --no-project --python $PYTHON_VERSION
281
+ - cp test/test-projects/local-pypi.toml pyproject.toml
282
+ - uv run --python $PYTHON_VERSION pytest -vs test --reruns 5 --reruns-delay 1 --only-rerun RuntimeError --only-rerun FlakyTestError
283
+ parallel:
284
+ matrix:
285
+ - PYTHON_VERSION: ["3.10", "3.11", "3.12", "3.13", "3.14"]
286
+ rules:
287
+ - when: manual
288
+ allow_failure: true
289
+ needs:
290
+ - job: local release
291
+ optional: true
292
+ artifacts: false
293
+ tags: [shell, windows]
294
+
295
+ testpypi release:
296
+ stage: release
297
+ image: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
298
+ variables:
299
+ PYTHON_VERSION: $LATEST_PYTHON_VER
300
+ GIT_DEPTH: 0
301
+ script:
302
+ - uv sync --python $PYTHON_VERSION
303
+ - uv build
304
+ - uv publish --index testpypi -u __token__ -p $TESTPYPI_TOKEN_QAOA dist/*
305
+ artifacts:
306
+ name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
307
+ paths:
308
+ - dist/
309
+ expire_in: "1000 years"
310
+ when: on_success
311
+ rules:
312
+ - if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+/'
313
+ when: on_success
314
+ - when: never
315
+ environment:
316
+ name: test release
317
+ deployment_tier: testing
318
+ tags:
319
+ - docker
320
+ - epyc128
321
+
322
+ testpypi install test linux:
323
+ stage: release_test
324
+ image: $CI_REGISTRY_IMAGE:${CI_COMMIT_REF_SLUG}-ubuntu2404
325
+ script:
326
+ - mkdir -p ~/.aws
327
+ - cp ${AWS_CREDENTIALS_FILE} ~/.aws/credentials
328
+ - cp ${AWS_CONFIG_FILE} ~/.aws/config
329
+ - rm -f uv.lock pyproject.toml
330
+ - uv venv --clear --no-project --python $PYTHON_VERSION
331
+ - cp test/test-projects/test-pypi.toml pyproject.toml
332
+ - uv run --python $PYTHON_VERSION pytest -vs test --reruns 5 --reruns-delay 1 --only-rerun RuntimeError --only-rerun FlakyTestError
333
+ # FIXME: amplify 1.6.0 リリース後に有効化
334
+ # - uv run --python $PYTHON_VERSION invoke typecheck --path=examples
335
+ parallel:
336
+ matrix:
337
+ - PYTHON_VERSION: ["3.10", "3.11", "3.12", "3.13"]
338
+ needs:
339
+ - job: testpypi release
340
+ artifacts: false
341
+ rules:
342
+ - if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+/'
343
+ when: on_success
344
+ tags: [docker, epyc128]
345
+
346
+ format:
347
+ stage: format
348
+ image: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
349
+ variables:
350
+ PYTHON_VERSION: $LATEST_PYTHON_VER
351
+ script:
352
+ - git remote set-url origin https://gitlab-ci-token:$GITLAB_API_ACCESS_TOKEN@${CI_REPOSITORY_URL##*@}
353
+ - git config user.email "$GITLAB_USER_EMAIL"
354
+ - git config user.name "$GITLAB_USER_NAME"
355
+ - git fetch origin $CI_COMMIT_REF_SLUG
356
+ - git checkout $CI_COMMIT_REF_SLUG
357
+ - git reset --hard origin/$CI_COMMIT_REF_SLUG
358
+ - git clean -xfd
359
+ - uv run --python $PYTHON_VERSION invoke format --copyright
360
+ - git status
361
+ - git add -u
362
+ - |-
363
+ if [ $(git status -s -uno | wc -l) -gt 0 ]; then
364
+ git commit -m "🎨 CI format"
365
+ git push origin $CI_COMMIT_REF_SLUG
366
+ fi
367
+ rules:
368
+ - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
369
+ - if: $CI_COMMIT_TAG
370
+ when: never
371
+ tags:
372
+ - docker
373
+ - epyc128
374
+
375
+ publish:
376
+ stage: publish
377
+ image: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
378
+ variables:
379
+ PYTHON_VERSION: $LATEST_PYTHON_VER
380
+ script:
381
+ - uv publish --index pypi -u __token__ -p $PYPI_TOKEN_QAOA dist/*
382
+ rules:
383
+ - if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+/'
384
+ when: manual
385
+ allow_failure: false
386
+ manual_confirmation: "Are you sure you want to publish to PyPI?"
387
+ needs:
388
+ - job: testpypi release
389
+ artifacts: true
390
+ - job: testpypi install test linux
391
+ artifacts: false
392
+ environment:
393
+ name: release
394
+ deployment_tier: production
395
+ tags:
396
+ - docker
397
+ - epyc128
@@ -0,0 +1,203 @@
1
+ Copyright 2022 Fixstars
2
+
3
+ Apache License
4
+ Version 2.0, January 2004
5
+ http://www.apache.org/licenses/
6
+
7
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8
+
9
+ 1. Definitions.
10
+
11
+ "License" shall mean the terms and conditions for use, reproduction,
12
+ and distribution as defined by Sections 1 through 9 of this document.
13
+
14
+ "Licensor" shall mean the copyright owner or entity authorized by
15
+ the copyright owner that is granting the License.
16
+
17
+ "Legal Entity" shall mean the union of the acting entity and all
18
+ other entities that control, are controlled by, or are under common
19
+ control with that entity. For the purposes of this definition,
20
+ "control" means (i) the power, direct or indirect, to cause the
21
+ direction or management of such entity, whether by contract or
22
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
23
+ outstanding shares, or (iii) beneficial ownership of such entity.
24
+
25
+ "You" (or "Your") shall mean an individual or Legal Entity
26
+ exercising permissions granted by this License.
27
+
28
+ "Source" form shall mean the preferred form for making modifications,
29
+ including but not limited to software source code, documentation
30
+ source, and configuration files.
31
+
32
+ "Object" form shall mean any form resulting from mechanical
33
+ transformation or translation of a Source form, including but
34
+ not limited to compiled object code, generated documentation,
35
+ and conversions to other media types.
36
+
37
+ "Work" shall mean the work of authorship, whether in Source or
38
+ Object form, made available under the License, as indicated by a
39
+ copyright notice that is included in or attached to the work
40
+ (an example is provided in the Appendix below).
41
+
42
+ "Derivative Works" shall mean any work, whether in Source or Object
43
+ form, that is based on (or derived from) the Work and for which the
44
+ editorial revisions, annotations, elaborations, or other modifications
45
+ represent, as a whole, an original work of authorship. For the purposes
46
+ of this License, Derivative Works shall not include works that remain
47
+ separable from, or merely link (or bind by name) to the interfaces of,
48
+ the Work and Derivative Works thereof.
49
+
50
+ "Contribution" shall mean any work of authorship, including
51
+ the original version of the Work and any modifications or additions
52
+ to that Work or Derivative Works thereof, that is intentionally
53
+ submitted to Licensor for inclusion in the Work by the copyright owner
54
+ or by an individual or Legal Entity authorized to submit on behalf of
55
+ the copyright owner. For the purposes of this definition, "submitted"
56
+ means any form of electronic, verbal, or written communication sent
57
+ to the Licensor or its representatives, including but not limited to
58
+ communication on electronic mailing lists, source code control systems,
59
+ and issue tracking systems that are managed by, or on behalf of, the
60
+ Licensor for the purpose of discussing and improving the Work, but
61
+ excluding communication that is conspicuously marked or otherwise
62
+ designated in writing by the copyright owner as "Not a Contribution."
63
+
64
+ "Contributor" shall mean Licensor and any individual or Legal Entity
65
+ on behalf of whom a Contribution has been received by Licensor and
66
+ subsequently incorporated within the Work.
67
+
68
+ 2. Grant of Copyright License. Subject to the terms and conditions of
69
+ this License, each Contributor hereby grants to You a perpetual,
70
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
71
+ copyright license to reproduce, prepare Derivative Works of,
72
+ publicly display, publicly perform, sublicense, and distribute the
73
+ Work and such Derivative Works in Source or Object form.
74
+
75
+ 3. Grant of Patent License. Subject to the terms and conditions of
76
+ this License, each Contributor hereby grants to You a perpetual,
77
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
78
+ (except as stated in this section) patent license to make, have made,
79
+ use, offer to sell, sell, import, and otherwise transfer the Work,
80
+ where such license applies only to those patent claims licensable
81
+ by such Contributor that are necessarily infringed by their
82
+ Contribution(s) alone or by combination of their Contribution(s)
83
+ with the Work to which such Contribution(s) was submitted. If You
84
+ institute patent litigation against any entity (including a
85
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
86
+ or a Contribution incorporated within the Work constitutes direct
87
+ or contributory patent infringement, then any patent licenses
88
+ granted to You under this License for that Work shall terminate
89
+ as of the date such litigation is filed.
90
+
91
+ 4. Redistribution. You may reproduce and distribute copies of the
92
+ Work or Derivative Works thereof in any medium, with or without
93
+ modifications, and in Source or Object form, provided that You
94
+ meet the following conditions:
95
+
96
+ (a) You must give any other recipients of the Work or
97
+ Derivative Works a copy of this License; and
98
+
99
+ (b) You must cause any modified files to carry prominent notices
100
+ stating that You changed the files; and
101
+
102
+ (c) You must retain, in the Source form of any Derivative Works
103
+ that You distribute, all copyright, patent, trademark, and
104
+ attribution notices from the Source form of the Work,
105
+ excluding those notices that do not pertain to any part of
106
+ the Derivative Works; and
107
+
108
+ (d) If the Work includes a "NOTICE" text file as part of its
109
+ distribution, then any Derivative Works that You distribute must
110
+ include a readable copy of the attribution notices contained
111
+ within such NOTICE file, excluding those notices that do not
112
+ pertain to any part of the Derivative Works, in at least one
113
+ of the following places: within a NOTICE text file distributed
114
+ as part of the Derivative Works; within the Source form or
115
+ documentation, if provided along with the Derivative Works; or,
116
+ within a display generated by the Derivative Works, if and
117
+ wherever such third-party notices normally appear. The contents
118
+ of the NOTICE file are for informational purposes only and
119
+ do not modify the License. You may add Your own attribution
120
+ notices within Derivative Works that You distribute, alongside
121
+ or as an addendum to the NOTICE text from the Work, provided
122
+ that such additional attribution notices cannot be construed
123
+ as modifying the License.
124
+
125
+ You may add Your own copyright statement to Your modifications and
126
+ may provide additional or different license terms and conditions
127
+ for use, reproduction, or distribution of Your modifications, or
128
+ for any such Derivative Works as a whole, provided Your use,
129
+ reproduction, and distribution of the Work otherwise complies with
130
+ the conditions stated in this License.
131
+
132
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
133
+ any Contribution intentionally submitted for inclusion in the Work
134
+ by You to the Licensor shall be under the terms and conditions of
135
+ this License, without any additional terms or conditions.
136
+ Notwithstanding the above, nothing herein shall supersede or modify
137
+ the terms of any separate license agreement you may have executed
138
+ with Licensor regarding such Contributions.
139
+
140
+ 6. Trademarks. This License does not grant permission to use the trade
141
+ names, trademarks, service marks, or product names of the Licensor,
142
+ except as required for reasonable and customary use in describing the
143
+ origin of the Work and reproducing the content of the NOTICE file.
144
+
145
+ 7. Disclaimer of Warranty. Unless required by applicable law or
146
+ agreed to in writing, Licensor provides the Work (and each
147
+ Contributor provides its Contributions) on an "AS IS" BASIS,
148
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
149
+ implied, including, without limitation, any warranties or conditions
150
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
151
+ PARTICULAR PURPOSE. You are solely responsible for determining the
152
+ appropriateness of using or redistributing the Work and assume any
153
+ risks associated with Your exercise of permissions under this License.
154
+
155
+ 8. Limitation of Liability. In no event and under no legal theory,
156
+ whether in tort (including negligence), contract, or otherwise,
157
+ unless required by applicable law (such as deliberate and grossly
158
+ negligent acts) or agreed to in writing, shall any Contributor be
159
+ liable to You for damages, including any direct, indirect, special,
160
+ incidental, or consequential damages of any character arising as a
161
+ result of this License or out of the use or inability to use the
162
+ Work (including but not limited to damages for loss of goodwill,
163
+ work stoppage, computer failure or malfunction, or any and all
164
+ other commercial damages or losses), even if such Contributor
165
+ has been advised of the possibility of such damages.
166
+
167
+ 9. Accepting Warranty or Additional Liability. While redistributing
168
+ the Work or Derivative Works thereof, You may choose to offer,
169
+ and charge a fee for, acceptance of support, warranty, indemnity,
170
+ or other liability obligations and/or rights consistent with this
171
+ License. However, in accepting such obligations, You may act only
172
+ on Your own behalf and on Your sole responsibility, not on behalf
173
+ of any other Contributor, and only if You agree to indemnify,
174
+ defend, and hold each Contributor harmless for any liability
175
+ incurred by, or claims asserted against, such Contributor by reason
176
+ of your accepting any such warranty or additional liability.
177
+
178
+ END OF TERMS AND CONDITIONS
179
+
180
+ APPENDIX: How to apply the Apache License to your work.
181
+
182
+ To apply the Apache License to your work, attach the following
183
+ boilerplate notice, with the fields enclosed by brackets "[]"
184
+ replaced with your own identifying information. (Don't include
185
+ the brackets!) The text should be enclosed in the appropriate
186
+ comment syntax for the file format. We also recommend that a
187
+ file or class name and description of purpose be included on the
188
+ same "printed page" as the copyright notice for easier
189
+ identification within third-party archives.
190
+
191
+ Copyright 2022 Fixstars
192
+
193
+ Licensed under the Apache License, Version 2.0 (the "License");
194
+ you may not use this file except in compliance with the License.
195
+ You may obtain a copy of the License at
196
+
197
+ http://www.apache.org/licenses/LICENSE-2.0
198
+
199
+ Unless required by applicable law or agreed to in writing, software
200
+ distributed under the License is distributed on an "AS IS" BASIS,
201
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
202
+ See the License for the specific language governing permissions and
203
+ limitations under the License.
@@ -0,0 +1,38 @@
1
+ Metadata-Version: 2.4
2
+ Name: amplify-quantum
3
+ Version: 1.0.0rc3
4
+ Summary: Amplify SDK add-on for running quantum algorithms with quantum computer and simulator
5
+ Author-email: Yoshiki Matsuda <y_matsuda@fixstars.com>
6
+ Maintainer-email: Yoshiki Matsuda <y_matsuda@fixstars.com>
7
+ License-Expression: Apache-2.0
8
+ License-File: LICENSE.txt
9
+ Keywords: Ising model,QAOA,QUBO,fixstars,quadratic unconstrained binary optimization,quantum,sdk
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Environment :: Console
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Intended Audience :: Science/Research
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Topic :: Scientific/Engineering
19
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
+ Requires-Python: >=3.10
21
+ Requires-Dist: amplify>=1.5.0
22
+ Provides-Extra: full
23
+ Requires-Dist: amazon-braket-sdk>=1.110.1; extra == 'full'
24
+ Requires-Dist: boto3>=1.42.51; extra == 'full'
25
+ Requires-Dist: qiskit-aer>=0.17.0; extra == 'full'
26
+ Requires-Dist: qiskit-ibm-runtime>=0.37.0; extra == 'full'
27
+ Requires-Dist: qiskit<3.0.0,>=2.0.0; extra == 'full'
28
+ Requires-Dist: qulacs<1.0.0; extra == 'full'
29
+ Requires-Dist: scipy>=1.15; extra == 'full'
30
+ Requires-Dist: typing-extensions; extra == 'full'
31
+ Description-Content-Type: text/markdown
32
+
33
+ ## About Amplify Quantum
34
+
35
+ Amplify Quantum is a submodule of Amplify, a middleware library for Ising machines developed by Fixstars. Quantum Approximate Optimization Algorithm (QAOA) is algorithm for solving optimization problems (e.g. Ising model).
36
+ This module supports to solve optimization problems with QAOA for Ising model by the quantum computers or simulators of a quantum computer.
37
+
38
+ [![Fixstars](https://img.shields.io/badge/-Fixstars-333333.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAg4SURBVHhe7ZtpbFVFFMfnlsoSUVsKLpQIFgxENIpgWKoBao1LIHlIiMgHTOQDGg2CCaLSpwSqwQXBDY1BwKWPRRRQUISySh+obG5QFQouBRcoaFyx9Pr/35lbH+/dZe5b+sD0l5w350zLS+fcuWfOzBxEM81khyOFXfOUmlVyVNukYPAd0NSivUn2ZI+sOMBoZR5G8xNkJZxwh9WZJbLigHY1NSaaN6UlXoATHlZ6k5MVB0jMl5VCpsAJEaU3KYZqm5y6wi4tTNFiL9Qussdie0OD6N/h0L5/lJ1xsjYD2tUeOIFmmbQa6Z2TIw4cKSwqVHbGaVIH1K/Ka31iV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+HsNCJCYhfuVwQekMO4rtvk2YjsUtvPcRz1+dGUAewaMJm0aySSgYkGxZOeRVJpsKZkPlwwhyxeIR9kMvXgDfQZKXfrs+NQA5QCdHP0oqbgqOWcQk7D8Ijq2GQ0ZD7Iaw74OktozMzOfuPToYxov6f/XBELzXd7Qx0nmoD43ks7sSE9aU8XByMVaELAqPvZsORSIi1CFzqWHHWHsK7e7bnQjpB6Ej+rxFKG0g83BiNFnvu4/3lc1ii+iL6/2r9JCDJOIA3RldjNvDpZp5IqDU+WRlKZzEY0lG0azHr5oqyaGtRPoBHd80000wzARHiX+svQrVLbT89AAAAAElFTkSuQmCC&style=popout-square)](https://www.fixstars.com/) [![PyPI](https://img.shields.io/pypi/v/amplify.qaoa)](https://pypi.org/project/amplify.qaoa/)
@@ -0,0 +1,6 @@
1
+ ## About Amplify Quantum
2
+
3
+ Amplify Quantum is a submodule of Amplify, a middleware library for Ising machines developed by Fixstars. Quantum Approximate Optimization Algorithm (QAOA) is algorithm for solving optimization problems (e.g. Ising model).
4
+ This module supports to solve optimization problems with QAOA for Ising model by the quantum computers or simulators of a quantum computer.
5
+
6
+ [![Fixstars](https://img.shields.io/badge/-Fixstars-333333.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAg4SURBVHhe7ZtpbFVFFMfnlsoSUVsKLpQIFgxENIpgWKoBao1LIHlIiMgHTOQDGg2CCaLSpwSqwQXBDY1BwKWPRRRQUISySh+obG5QFQouBRcoaFyx9Pr/35lbH+/dZe5b+sD0l5w350zLS+fcuWfOzBxEM81khyOFXfOUmlVyVNukYPAd0NSivUn2ZI+sOMBoZR5G8xNkJZxwh9WZJbLigHY1NSaaN6UlXoATHlZ6k5MVB0jMl5VCpsAJEaU3KYZqm5y6wi4tTNFiL9Qussdie0OD6N/h0L5/lJ1xsjYD2tUeOI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GVLZIITn5zxrq/xuFuXoA7gsbPNQdMUnyqdA8+HsNCJCYhfuVwQekMO4rtvk2YjsUtvPcRz1+dGUAewaMJm0aySSgYkGxZOeRVJpsKZkPlwwhyxeIR9kMvXgDfQZKXfrs+NQA5QCdHP0oqbgqOWcQk7D8Ijq2GQ0ZD7Iaw74OktozMzOfuPToYxov6f/XBELzXd7Qx0nmoD43ks7sSE9aU8XByMVaELAqPvZsORSIi1CFzqWHHWHsK7e7bnQjpB6Ej+rxFKG0g83BiNFnvu4/3lc1ii+iL6/2r9JCDJOIA3RldjNvDpZp5IqDU+WRlKZzEY0lG0azHr5oqyaGtRPoBHd80000wzARHiX+svQrVLbT89AAAAAElFTkSuQmCC&style=popout-square)](https://www.fixstars.com/) [![PyPI](https://img.shields.io/pypi/v/amplify.qaoa)](https://pypi.org/project/amplify.qaoa/)