Skip to content

Commit 4060dea

Browse files
authored
Add rigetti target cepheus-1-108q (#740)
* Add rigetti target cepheus-1-108q * Update target in notebooks
1 parent 1b1ca3d commit 4060dea

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

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

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

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

35+
CEPHEUS_1_108Q = "rigetti.qpu.cepheus-1-108q"
36+
"""A multi-chip QPU comprising twelve 9-qubit chips tiled together."""
37+
3538
def simulators() -> List[str]:
3639
"""Returns a list of simulator targets"""
3740
return [
@@ -41,7 +44,8 @@ def simulators() -> List[str]:
4144
def qpus() -> List[str]:
4245
"""Returns a list of QPU targets"""
4346
return [
44-
RigettiTarget.ANKAA_3.value
47+
RigettiTarget.ANKAA_3.value,
48+
RigettiTarget.CEPHEUS_1_108Q.value,
4549
]
4650

4751
def num_qubits(target_name) -> int:
@@ -51,6 +55,8 @@ def num_qubits(target_name) -> int:
5155
return 20
5256
elif target_name == RigettiTarget.ANKAA_3.value:
5357
return 84
58+
elif target_name == RigettiTarget.CEPHEUS_1_108Q.value:
59+
return 108
5460
else:
5561
raise ValueError(f"Unknown target {target_name}")
5662

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
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",
134134
"| 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 multi-chip QPU comprising twelve 9-qubit chips tiled together. |\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
]
@@ -339,7 +340,7 @@
339340
},
340341
"source": [
341342
"### 5. Next steps\n",
342-
"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",
343+
"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",
343344
"\n",
344345
"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",
345346
"\n",

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

Lines changed: 5 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 multi-chip QPU comprising twelve 9-qubit chips tiled together. |\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
]
@@ -170,6 +171,9 @@
170171
"metadata": {
171172
"microsoft": {
172173
"language": "qsharp"
174+
},
175+
"vscode": {
176+
"languageId": "qsharp"
173177
}
174178
},
175179
"outputs": [],
@@ -334,7 +338,7 @@
334338
},
335339
"source": [
336340
"### 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",
341+
"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",
338342
"\n",
339343
"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",
340344
"\n",

0 commit comments

Comments
 (0)