From 9631f76fe2286e3538b5457058b479e0461dc810 Mon Sep 17 00:00:00 2001 From: Jake Selig Date: Mon, 30 Mar 2026 10:45:13 -0600 Subject: [PATCH 1/4] feat: add rigetti target cepheus-1-108q --- azure-quantum/azure/quantum/target/rigetti/target.py | 7 ++++++- samples/hello-world/HW-rigetti-qiskit.ipynb | 3 ++- samples/hello-world/HW-rigetti-qsharp.ipynb | 3 ++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/azure-quantum/azure/quantum/target/rigetti/target.py b/azure-quantum/azure/quantum/target/rigetti/target.py index 227901192..d1be58c5d 100644 --- a/azure-quantum/azure/quantum/target/rigetti/target.py +++ b/azure-quantum/azure/quantum/target/rigetti/target.py @@ -32,6 +32,8 @@ class RigettiTarget(str, Enum): ANKAA_3 = "rigetti.qpu.ankaa-3" + CEPHEUS_1_108Q = "rigetti.qpu.cepheus-1-108q" + def simulators() -> List[str]: """Returns a list of simulator targets""" return [ @@ -41,7 +43,8 @@ def simulators() -> List[str]: def qpus() -> List[str]: """Returns a list of QPU targets""" return [ - RigettiTarget.ANKAA_3.value + RigettiTarget.ANKAA_3.value, + RigettiTarget.CEPHEUS_1_108Q.value, ] def num_qubits(target_name) -> int: @@ -51,6 +54,8 @@ def num_qubits(target_name) -> int: return 20 elif target_name == RigettiTarget.ANKAA_3.value: return 84 + elif target_name == RigettiTarget.CEPHEUS_1_108Q.value: + return 108 else: raise ValueError(f"Unknown target {target_name}") diff --git a/samples/hello-world/HW-rigetti-qiskit.ipynb b/samples/hello-world/HW-rigetti-qiskit.ipynb index 347a01715..8bb75c014 100644 --- a/samples/hello-world/HW-rigetti-qiskit.ipynb +++ b/samples/hello-world/HW-rigetti-qiskit.ipynb @@ -131,7 +131,8 @@ "| Target name | Target ID | Number of qubits | Description |\n", "| --- | --- | --- | --- |\n", "| Rigetti QVM (simulator) | `rigetti.sim.qvm` | 20 qubits | Rigetti's cloud-based, [open-source](https://github.com/quil-lang/qvm) \"Quantum Virtual Machine\" simulator. Free to use. |\n", - "| Ankaa-3 (hardware) | `rigetti.qpu.ankaa-3` |84 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n", + "| Ankaa-3 (hardware) | `rigetti.qpu.ankaa-3` | 84 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n", + "| Cepheus-1-108Q (hardware) | `rigetti.qpu.cepheus-1-108q` | 108 qubits | A 5th-generation, square-lattice processor. Pricing based on QPUs. |\n", "\n", "For this example, we will use `rigetti.sim.qvm`. To learn more about Rigetti's targets, check out [Rigetti's Azure Quantum documentation](https://learn.microsoft.com/azure/quantum/provider-rigetti)." ] diff --git a/samples/hello-world/HW-rigetti-qsharp.ipynb b/samples/hello-world/HW-rigetti-qsharp.ipynb index cc037500f..b4cc50ce4 100644 --- a/samples/hello-world/HW-rigetti-qsharp.ipynb +++ b/samples/hello-world/HW-rigetti-qsharp.ipynb @@ -126,6 +126,7 @@ "| --- | --- | --- | --- |\n", "| Rigetti QVM (simulator) | `rigetti.sim.qvm` | 20 qubits | Rigetti's cloud-based, [open-source](https://github.com/quil-lang/qvm) \"Quantum Virtual Machine\" simulator. Free to use. |\n", "| Ankaa-3 (hardware) | `rigetti.qpu.ankaa-3` |84 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n", + "| Cepheus-1-108Q (hardware) | `rigetti.qpu.cepheus-1-108q` |108 qubits | A 5th-generation, square-lattice processor. Pricing based on QPUs. |\n", "\n", "For this example, we will use `rigetti.sim.qvm`. To learn more about Rigetti's targets, check out [Rigetti's Azure Quantum documentation](https://learn.microsoft.com/azure/quantum/provider-rigetti)." ] @@ -334,7 +335,7 @@ }, "source": [ "### 5. Next steps\n", - "Next, you can try running a program on one of Rigetti's hardware targets. Just replace `rigetti.sim.qvm` with `rigetti.qpu.ankaa-3`. Or try another sample by navigating back to the sample gallery. The same \"hello world\" sample can be run with different quantum providers by choosing another option in the gallery card drop-down menu. Don't worry - your work here is automatically saved.\n", + "Next, you can try running a program on one of Rigetti's hardware targets. Just replace `rigetti.sim.qvm` with `rigetti.qpu.cepheus-1-108q`. Or try another sample by navigating back to the sample gallery. The same \"hello world\" sample can be run with different quantum providers by choosing another option in the gallery card drop-down menu. Don't worry - your work here is automatically saved.\n", "\n", "To learn more about submitting jobs to Azure Quantum using Q#, refer to the [Azure Quantum documentation](https://learn.microsoft.com/azure/quantum/how-to-submit-jobs?pivots=ide-python&tabs=tabid-python).\n", "\n", From 9cc7bb7fd3528a506d49614504e49bdf8e6a4650 Mon Sep 17 00:00:00 2001 From: Jake Selig Date: Wed, 1 Apr 2026 14:57:23 -0600 Subject: [PATCH 2/4] chore: update description --- samples/hello-world/HW-rigetti-qiskit.ipynb | 2 +- samples/hello-world/HW-rigetti-qsharp.ipynb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/hello-world/HW-rigetti-qiskit.ipynb b/samples/hello-world/HW-rigetti-qiskit.ipynb index 8bb75c014..42920b7da 100644 --- a/samples/hello-world/HW-rigetti-qiskit.ipynb +++ b/samples/hello-world/HW-rigetti-qiskit.ipynb @@ -132,7 +132,7 @@ "| --- | --- | --- | --- |\n", "| Rigetti QVM (simulator) | `rigetti.sim.qvm` | 20 qubits | Rigetti's cloud-based, [open-source](https://github.com/quil-lang/qvm) \"Quantum Virtual Machine\" simulator. Free to use. |\n", "| Ankaa-3 (hardware) | `rigetti.qpu.ankaa-3` | 84 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n", - "| Cepheus-1-108Q (hardware) | `rigetti.qpu.cepheus-1-108q` | 108 qubits | A 5th-generation, square-lattice processor. Pricing based on QPUs. |\n", + "| Cepheus-1-108Q (hardware) | `rigetti.qpu.cepheus-1-108q` | 108 qubits | A multi-chip QPU comprising twelve 9-qubit chips tiled together.. |\n", "\n", "For this example, we will use `rigetti.sim.qvm`. To learn more about Rigetti's targets, check out [Rigetti's Azure Quantum documentation](https://learn.microsoft.com/azure/quantum/provider-rigetti)." ] diff --git a/samples/hello-world/HW-rigetti-qsharp.ipynb b/samples/hello-world/HW-rigetti-qsharp.ipynb index b4cc50ce4..6daa4f0fe 100644 --- a/samples/hello-world/HW-rigetti-qsharp.ipynb +++ b/samples/hello-world/HW-rigetti-qsharp.ipynb @@ -126,7 +126,7 @@ "| --- | --- | --- | --- |\n", "| Rigetti QVM (simulator) | `rigetti.sim.qvm` | 20 qubits | Rigetti's cloud-based, [open-source](https://github.com/quil-lang/qvm) \"Quantum Virtual Machine\" simulator. Free to use. |\n", "| Ankaa-3 (hardware) | `rigetti.qpu.ankaa-3` |84 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n", - "| Cepheus-1-108Q (hardware) | `rigetti.qpu.cepheus-1-108q` |108 qubits | A 5th-generation, square-lattice processor. Pricing based on QPUs. |\n", + "| Cepheus-1-108Q (hardware) | `rigetti.qpu.cepheus-1-108q` |108 qubits | A multi-chip QPU comprising twelve 9-qubit chips tiled together. |\n", "\n", "For this example, we will use `rigetti.sim.qvm`. To learn more about Rigetti's targets, check out [Rigetti's Azure Quantum documentation](https://learn.microsoft.com/azure/quantum/provider-rigetti)." ] From 897c966b43b196bc2ba1781e9bb81aa127b84e8c Mon Sep 17 00:00:00 2001 From: Jake Selig Date: Thu, 9 Apr 2026 07:59:28 -0600 Subject: [PATCH 3/4] chore: remove ankaa-3 --- azure-quantum/azure/quantum/target/rigetti/target.py | 5 ----- samples/hello-world/HW-rigetti-qiskit.ipynb | 3 +-- samples/hello-world/HW-rigetti-qsharp.ipynb | 1 - 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/azure-quantum/azure/quantum/target/rigetti/target.py b/azure-quantum/azure/quantum/target/rigetti/target.py index d1be58c5d..6ca94f8fb 100644 --- a/azure-quantum/azure/quantum/target/rigetti/target.py +++ b/azure-quantum/azure/quantum/target/rigetti/target.py @@ -30,8 +30,6 @@ class RigettiTarget(str, Enum): QVM = "rigetti.sim.qvm" """A simulator target for Quil. See https://github.com/quil-lang/qvm for more info.""" - ANKAA_3 = "rigetti.qpu.ankaa-3" - CEPHEUS_1_108Q = "rigetti.qpu.cepheus-1-108q" def simulators() -> List[str]: @@ -43,7 +41,6 @@ def simulators() -> List[str]: def qpus() -> List[str]: """Returns a list of QPU targets""" return [ - RigettiTarget.ANKAA_3.value, RigettiTarget.CEPHEUS_1_108Q.value, ] @@ -52,8 +49,6 @@ def num_qubits(target_name) -> int: if target_name == RigettiTarget.QVM.value: return 20 - elif target_name == RigettiTarget.ANKAA_3.value: - return 84 elif target_name == RigettiTarget.CEPHEUS_1_108Q.value: return 108 else: diff --git a/samples/hello-world/HW-rigetti-qiskit.ipynb b/samples/hello-world/HW-rigetti-qiskit.ipynb index 42920b7da..c6c0758e4 100644 --- a/samples/hello-world/HW-rigetti-qiskit.ipynb +++ b/samples/hello-world/HW-rigetti-qiskit.ipynb @@ -131,7 +131,6 @@ "| Target name | Target ID | Number of qubits | Description |\n", "| --- | --- | --- | --- |\n", "| Rigetti QVM (simulator) | `rigetti.sim.qvm` | 20 qubits | Rigetti's cloud-based, [open-source](https://github.com/quil-lang/qvm) \"Quantum Virtual Machine\" simulator. Free to use. |\n", - "| Ankaa-3 (hardware) | `rigetti.qpu.ankaa-3` | 84 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n", "| Cepheus-1-108Q (hardware) | `rigetti.qpu.cepheus-1-108q` | 108 qubits | A multi-chip QPU comprising twelve 9-qubit chips tiled together.. |\n", "\n", "For this example, we will use `rigetti.sim.qvm`. To learn more about Rigetti's targets, check out [Rigetti's Azure Quantum documentation](https://learn.microsoft.com/azure/quantum/provider-rigetti)." @@ -340,7 +339,7 @@ }, "source": [ "### 5. Next steps\n", - "Next, you can try running a program on one of Rigetti's hardware targets. Just replace `RigettiTarget.QVM` with `RigettiTarget.ANKAA_3`. Or try another sample by navigating back to the sample gallery. The same \"hello world\" sample can be run with different quantum providers by choosing another option in the gallery card drop-down menu. Don't worry - your work here is automatically saved.\n", + "Next, you can try running a program on one of Rigetti's hardware targets. Just replace `RigettiTarget.QVM` with `RigettiTarget.CEPHEUS_1_108Q`. Or try another sample by navigating back to the sample gallery. The same \"hello world\" sample can be run with different quantum providers by choosing another option in the gallery card drop-down menu. Don't worry - your work here is automatically saved.\n", "\n", "To learn more about submitting Qiskit circuits to Azure Quantum, review the Qiskit section of the [Azure Quantum documentation's page on Qiskit jobs](https://learn.microsoft.com/azure/quantum/quickstart-microsoft-qiskit&tabs=tabid-rigetti).\n", "\n", diff --git a/samples/hello-world/HW-rigetti-qsharp.ipynb b/samples/hello-world/HW-rigetti-qsharp.ipynb index 6daa4f0fe..bf6812779 100644 --- a/samples/hello-world/HW-rigetti-qsharp.ipynb +++ b/samples/hello-world/HW-rigetti-qsharp.ipynb @@ -125,7 +125,6 @@ "| Target name | Target ID | Number of qubits | Description |\n", "| --- | --- | --- | --- |\n", "| Rigetti QVM (simulator) | `rigetti.sim.qvm` | 20 qubits | Rigetti's cloud-based, [open-source](https://github.com/quil-lang/qvm) \"Quantum Virtual Machine\" simulator. Free to use. |\n", - "| Ankaa-3 (hardware) | `rigetti.qpu.ankaa-3` |84 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n", "| Cepheus-1-108Q (hardware) | `rigetti.qpu.cepheus-1-108q` |108 qubits | A multi-chip QPU comprising twelve 9-qubit chips tiled together. |\n", "\n", "For this example, we will use `rigetti.sim.qvm`. To learn more about Rigetti's targets, check out [Rigetti's Azure Quantum documentation](https://learn.microsoft.com/azure/quantum/provider-rigetti)." From 5b614ad9b4feb3dae7065477044188d79042c834 Mon Sep 17 00:00:00 2001 From: Jake Selig Date: Thu, 9 Apr 2026 09:44:53 -0600 Subject: [PATCH 4/4] chore: fix typo --- samples/hello-world/HW-rigetti-qiskit.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/hello-world/HW-rigetti-qiskit.ipynb b/samples/hello-world/HW-rigetti-qiskit.ipynb index c6c0758e4..59e9b0018 100644 --- a/samples/hello-world/HW-rigetti-qiskit.ipynb +++ b/samples/hello-world/HW-rigetti-qiskit.ipynb @@ -131,7 +131,7 @@ "| Target name | Target ID | Number of qubits | Description |\n", "| --- | --- | --- | --- |\n", "| Rigetti QVM (simulator) | `rigetti.sim.qvm` | 20 qubits | Rigetti's cloud-based, [open-source](https://github.com/quil-lang/qvm) \"Quantum Virtual Machine\" simulator. Free to use. |\n", - "| Cepheus-1-108Q (hardware) | `rigetti.qpu.cepheus-1-108q` | 108 qubits | A multi-chip QPU comprising twelve 9-qubit chips tiled together.. |\n", + "| Cepheus-1-108Q (hardware) | `rigetti.qpu.cepheus-1-108q` | 108 qubits | A multi-chip QPU comprising twelve 9-qubit chips tiled together. |\n", "\n", "For this example, we will use `rigetti.sim.qvm`. To learn more about Rigetti's targets, check out [Rigetti's Azure Quantum documentation](https://learn.microsoft.com/azure/quantum/provider-rigetti)." ]