From d5cd4ca342ad4e294c77cd6f029da43d9d68dd2d Mon Sep 17 00:00:00 2001 From: david-alber Date: Wed, 21 Feb 2024 17:25:55 +0100 Subject: [PATCH 1/4] updating docs notebook dependencies + use latest fakebackend (#1227) * updating docs notebook dependencies + use latest fakebackend * rm qiskit-ibm-provier from client dependencies + GenericBackendV2 bugfix * exchange qiskit-ibm-provider with runtime * using latest qiskit-ibm-provider * equal dependencies in requirements and k8s-deployment * updating docs custom dependencies to qiskit 1.0.0 compatible --- .github/workflows/kubernetes-deploy.yaml | 8 ++++---- client/requirements.txt | 4 ++-- client/tests/library/test_transpiler.py | 10 +++++----- docs/getting_started/basic/03_dependencies.ipynb | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/kubernetes-deploy.yaml b/.github/workflows/kubernetes-deploy.yaml index 5f0a6ab3f..b6a1c08bb 100644 --- a/.github/workflows/kubernetes-deploy.yaml +++ b/.github/workflows/kubernetes-deploy.yaml @@ -56,13 +56,13 @@ jobs: cd client pip install . --no-cache-dir pip install --no-cache-dir \ - ipywidgets==8.1.0 \ - circuit-knitting-toolbox==0.2.0 \ + ipywidgets==8.1.1 \ + circuit-knitting-toolbox>=0.6.0 \ matplotlib==3.7.1 \ pyscf==2.2.1 \ scipy==1.10 \ - qiskit-ibmq-provider==0.20.2 \ - qiskit-aer==0.12.0 \ + qiskit-ibm-provider>=0.9.0 \ + qiskit-aer>=0.13.3 \ certifi==2023.7.22 pip install nbmake pytest - name: Run notebooks diff --git a/client/requirements.txt b/client/requirements.txt index b9799c117..58bf81ed6 100644 --- a/client/requirements.txt +++ b/client/requirements.txt @@ -2,8 +2,8 @@ ray[default,data]>=2.9.1, <3 requests>=2.31.0 importlib-metadata>=5.2.0 qiskit>=0.45.2 -qiskit-ibm-runtime>=0.18.0 -qiskit-ibm-provider>=0.8.0 +qiskit-ibm-runtime>=0.19.1 +qiskit-ibm-provider>=0.9.0 # TODO: make sure ray node and notebook node have the same version of cloudpickle cloudpickle==2.2.1 tqdm>=4.65.0 diff --git a/client/tests/library/test_transpiler.py b/client/tests/library/test_transpiler.py index ae86ef8fb..75011e38f 100644 --- a/client/tests/library/test_transpiler.py +++ b/client/tests/library/test_transpiler.py @@ -15,7 +15,7 @@ from qiskit import QuantumCircuit from qiskit.circuit.random import random_circuit -from qiskit.providers.fake_provider import FakeAlmadenV2, FakeBrooklynV2 +from qiskit.providers.fake_provider import GenericBackendV2 from quantum_serverless import QuantumServerless from quantum_serverless.exception import QuantumServerlessException @@ -31,8 +31,8 @@ def test_transpile(self): circuit1 = random_circuit(5, 3) circuit2 = random_circuit(5, 3) - backend1 = FakeAlmadenV2() - backend2 = FakeBrooklynV2() + backend1 = GenericBackendV2(num_qubits=5) + backend2 = GenericBackendV2(num_qubits=5) with QuantumServerless().context(): transpiled_circuits = parallel_transpile( @@ -48,8 +48,8 @@ def test_transpile_fail(self): """Test failing cases for parallel transpile.""" circuit1 = random_circuit(5, 3) - backend1 = FakeAlmadenV2() - backend2 = FakeBrooklynV2() + backend1 = GenericBackendV2(num_qubits=5) + backend2 = GenericBackendV2(num_qubits=5) with QuantumServerless().context(): # inconsistent number of circuits and backends diff --git a/docs/getting_started/basic/03_dependencies.ipynb b/docs/getting_started/basic/03_dependencies.ipynb index 9e29fbb55..9dfa4e68d 100644 --- a/docs/getting_started/basic/03_dependencies.ipynb +++ b/docs/getting_started/basic/03_dependencies.ipynb @@ -76,7 +76,7 @@ " title=\"pattern-with-dependencies\",\n", " entrypoint=\"pattern_with_dependencies.py\",\n", " working_dir=\"./source_files/\",\n", - " dependencies=[\"qiskit-experiments==0.5.2\"],\n", + " dependencies=[\"qiskit-experiments==0.6.0\"],\n", ")" ] }, From 113b8a00457d434b391b0ac422ca0ccf9bedf5df Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 12:16:51 -0500 Subject: [PATCH 2/4] Update Helm release promtail to v6.15.5 (#1219) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- charts/qs-observability/Chart.lock | 6 +++--- charts/qs-observability/Chart.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/qs-observability/Chart.lock b/charts/qs-observability/Chart.lock index 8c5cf91c5..89eecbbf6 100644 --- a/charts/qs-observability/Chart.lock +++ b/charts/qs-observability/Chart.lock @@ -7,6 +7,6 @@ dependencies: version: 4.10.0 - name: promtail repository: https://grafana.github.io/helm-charts - version: 6.15.4 -digest: sha256:dd676a7e5cfdb477a32ee7ee6261e8bcc05a47e14b29331a9b0ef269dfc1790c -generated: "2024-01-24T22:02:08.03406892Z" + version: 6.15.5 +digest: sha256:f2e06245745974ffee0c8e67003974d44bd08234b796bb7696befae3e4581ebd +generated: "2024-02-21T16:32:40.011993592Z" diff --git a/charts/qs-observability/Chart.yaml b/charts/qs-observability/Chart.yaml index c7a9e3cbc..f07448315 100644 --- a/charts/qs-observability/Chart.yaml +++ b/charts/qs-observability/Chart.yaml @@ -18,7 +18,7 @@ dependencies: repository: https://grafana.github.io/helm-charts - name: promtail condition: promtailEnable - version: 6.15.4 + version: 6.15.5 repository: https://grafana.github.io/helm-charts maintainers: From e2e8dbe54608c8fd87fec979d4fb9b35a8564093 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 12:17:15 -0500 Subject: [PATCH 3/4] Update Helm release postgresql to v13.4.4 (#1200) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- charts/quantum-serverless/Chart.lock | 6 +++--- charts/quantum-serverless/Chart.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/quantum-serverless/Chart.lock b/charts/quantum-serverless/Chart.lock index 5d6e6cd35..b950ffb4d 100644 --- a/charts/quantum-serverless/Chart.lock +++ b/charts/quantum-serverless/Chart.lock @@ -7,9 +7,9 @@ dependencies: version: 9.9.4 - name: postgresql repository: https://charts.bitnami.com/bitnami - version: 13.2.24 + version: 13.4.4 - name: kuberay-operator repository: https://ray-project.github.io/kuberay-helm version: 1.0.0 -digest: sha256:689a16e19c8cebaccd63015905997d01665f8880c83964cb0f4388f5b82a82e0 -generated: "2024-02-12T15:00:05.326828301Z" +digest: sha256:f753888bb6e1664d50576d1cf4dfdae3acb3634e0856f39682db2b493f93f59a +generated: "2024-02-21T16:34:11.47386204Z" diff --git a/charts/quantum-serverless/Chart.yaml b/charts/quantum-serverless/Chart.yaml index e271be4e1..b5396a9d6 100644 --- a/charts/quantum-serverless/Chart.yaml +++ b/charts/quantum-serverless/Chart.yaml @@ -17,7 +17,7 @@ dependencies: repository: https://charts.bitnami.com/bitnami - name: postgresql condition: postgresqlEnable - version: 13.2.24 + version: 13.4.4 repository: https://charts.bitnami.com/bitnami - name: kuberay-operator condition: kuberayOperatorEnable From 3c90230614fe2a66c1f0a3b6269295a48935ac4c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 13:20:56 -0500 Subject: [PATCH 4/4] Update Helm release nginx-ingress-controller to v9.11.0 (#1199) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- charts/quantum-serverless/Chart.lock | 6 +++--- charts/quantum-serverless/Chart.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/quantum-serverless/Chart.lock b/charts/quantum-serverless/Chart.lock index b950ffb4d..dae435c8b 100644 --- a/charts/quantum-serverless/Chart.lock +++ b/charts/quantum-serverless/Chart.lock @@ -4,12 +4,12 @@ dependencies: version: 0.9.0 - name: nginx-ingress-controller repository: https://charts.bitnami.com/bitnami - version: 9.9.4 + version: 9.11.0 - name: postgresql repository: https://charts.bitnami.com/bitnami version: 13.4.4 - name: kuberay-operator repository: https://ray-project.github.io/kuberay-helm version: 1.0.0 -digest: sha256:f753888bb6e1664d50576d1cf4dfdae3acb3634e0856f39682db2b493f93f59a -generated: "2024-02-21T16:34:11.47386204Z" +digest: sha256:9b10c7858508eede98d9302d08742dbb3adcaa7d3afe165219145d4c68ab29ee +generated: "2024-02-21T17:19:57.852813464Z" diff --git a/charts/quantum-serverless/Chart.yaml b/charts/quantum-serverless/Chart.yaml index b5396a9d6..9da6bf752 100644 --- a/charts/quantum-serverless/Chart.yaml +++ b/charts/quantum-serverless/Chart.yaml @@ -13,7 +13,7 @@ dependencies: version: 0.9.0 - name: nginx-ingress-controller condition: nginxIngressControllerEnable - version: 9.9.4 + version: 9.11.0 repository: https://charts.bitnami.com/bitnami - name: postgresql condition: postgresqlEnable