Skip to content

Commit cfbef2c

Browse files
authored
Add Ankaa-3 as Target (#653)
* Add Ankaa-3 as target * add Ankaa-3 to notebooks * update qubit count
1 parent 20dc5cb commit cfbef2c

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
@@ -30,6 +30,8 @@ class RigettiTarget(str, Enum):
3030
QVM = "rigetti.sim.qvm"
3131
"""A simulator target for Quil. See https://github.com/quil-lang/qvm for more info."""
3232

33+
ANKAA_3 = "rigetti.qpu.ankaa-3"
34+
3335
ANKAA_9Q_3 = "rigetti.qpu.ankaa-9q-3"
3436

3537
def simulators() -> List[str]:
@@ -41,6 +43,7 @@ def simulators() -> List[str]:
4143
def qpus() -> List[str]:
4244
"""Returns a list of QPU targets"""
4345
return [
46+
RigettiTarget.ANKAA_3.value,
4447
RigettiTarget.ANKAA_9Q_3.value,
4548
]
4649

@@ -49,6 +52,8 @@ def num_qubits(target_name) -> int:
4952

5053
if target_name == RigettiTarget.QVM.value:
5154
return 20
55+
elif target_name == RigettiTarget.ANKAA_3.value:
56+
return 82
5257
elif target_name == RigettiTarget.ANKAA_9Q_3.value:
5358
return 9
5459
else:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
"| Target name | Target ID | Number of qubits | Description |\n",
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",
137+
"| Ankaa-3 (hardware) | `rigetti.qpu.ankaa-3` | 82 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n",
137138
"| 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)."

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@
128128
"| Target name | Target ID | Number of qubits | Description |\n",
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",
131+
"| Ankaa-3 (hardware) | `rigetti.qpu.ankaa-3` | 82 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n",
131132
"| 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)."

0 commit comments

Comments
 (0)