Skip to content

Commit 9631f76

Browse files
feat: add rigetti target cepheus-1-108q
1 parent 1b1ca3d commit 9631f76

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

azure-quantum/azure/quantum/target/rigetti/target.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ class RigettiTarget(str, Enum):
3232

3333
ANKAA_3 = "rigetti.qpu.ankaa-3"
3434

35+
CEPHEUS_1_108Q = "rigetti.qpu.cepheus-1-108q"
36+
3537
def simulators() -> List[str]:
3638
"""Returns a list of simulator targets"""
3739
return [
@@ -41,7 +43,8 @@ def simulators() -> List[str]:
4143
def qpus() -> List[str]:
4244
"""Returns a list of QPU targets"""
4345
return [
44-
RigettiTarget.ANKAA_3.value
46+
RigettiTarget.ANKAA_3.value,
47+
RigettiTarget.CEPHEUS_1_108Q.value,
4548
]
4649

4750
def num_qubits(target_name) -> int:
@@ -51,6 +54,8 @@ def num_qubits(target_name) -> int:
5154
return 20
5255
elif target_name == RigettiTarget.ANKAA_3.value:
5356
return 84
57+
elif target_name == RigettiTarget.CEPHEUS_1_108Q.value:
58+
return 108
5459
else:
5560
raise ValueError(f"Unknown target {target_name}")
5661

samples/hello-world/HW-rigetti-qiskit.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@
131131
"| Target name | Target ID | Number of qubits | Description |\n",
132132
"| --- | --- | --- | --- |\n",
133133
"| 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",
134-
"| Ankaa-3 (hardware) | `rigetti.qpu.ankaa-3` |84 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n",
134+
"| Ankaa-3 (hardware) | `rigetti.qpu.ankaa-3` | 84 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n",
135+
"| Cepheus-1-108Q (hardware) | `rigetti.qpu.cepheus-1-108q` | 108 qubits | A 5th-generation, square-lattice processor. Pricing based on QPUs. |\n",
135136
"\n",
136137
"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)."
137138
]

samples/hello-world/HW-rigetti-qsharp.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126
"| --- | --- | --- | --- |\n",
127127
"| 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",
128128
"| Ankaa-3 (hardware) | `rigetti.qpu.ankaa-3` |84 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n",
129+
"| Cepheus-1-108Q (hardware) | `rigetti.qpu.cepheus-1-108q` |108 qubits | A 5th-generation, square-lattice processor. Pricing based on QPUs. |\n",
129130
"\n",
130131
"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)."
131132
]
@@ -334,7 +335,7 @@
334335
},
335336
"source": [
336337
"### 5. Next steps\n",
337-
"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",
338+
"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",
338339
"\n",
339340
"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",
340341
"\n",

0 commit comments

Comments
 (0)