Skip to content

Commit 1560a53

Browse files
chore: add rigetti ankaa-9q-3 target (#620)
* chore: add rigetti ankaa-9q-3 target * feat: add Ankaa-9Q-3 target * chore: add Ankaa-9Q-3 to sample notebooks * chore: fix bad auto-merge --------- Co-authored-by: Michael Bryant <shadow53@shadow53.com> Co-authored-by: Michael Bryant <mbryant@rigetti.com>
1 parent e25d185 commit 1560a53

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ class RigettiTarget(str, Enum):
3131

3232
ANKAA_2 = "rigetti.qpu.ankaa-2"
3333

34+
ANKAA_9Q_3 = "rigetti.qpu.ankaa-9q-3"
35+
3436
def simulators() -> List[str]:
3537
"""Returns a list of simulator targets"""
3638
return [
@@ -41,6 +43,7 @@ def qpus() -> List[str]:
4143
"""Returns a list of QPU targets"""
4244
return [
4345
RigettiTarget.ANKAA_2.value,
46+
RigettiTarget.ANKAA_9Q_3.value,
4447
]
4548

4649
def num_qubits(target_name) -> int:
@@ -50,6 +53,8 @@ def num_qubits(target_name) -> int:
5053
return 20
5154
elif target_name == RigettiTarget.ANKAA_2.value:
5255
return 84
56+
elif target_name == RigettiTarget.ANKAA_9Q_3.value:
57+
return 9
5358
else:
5459
raise ValueError(f"Unknown target {target_name}")
5560

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
"| --- | --- | --- | --- |\n",
136136
"| 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",
137137
"| Ankaa-2 (hardware) | `rigetti.qpu.ankaa-2` | 84 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n",
138+
"| Ankaa-9Q-3 (hardware) | `rigetti.qpu.ankaa-9q-3` | 9 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n",
138139
"\n",
139140
"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)."
140141
]

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
"| --- | --- | --- | --- |\n",
130130
"| 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",
131131
"| Ankaa-2 (hardware) | `rigetti.qpu.ankaa-2` | 84 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n",
132+
"| Ankaa-9Q-3 (hardware) | `rigetti.qpu.ankaa-9q-3` | 9 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n",
132133
"\n",
133134
"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)."
134135
]

0 commit comments

Comments
 (0)