Skip to content

Commit

Permalink
Add Ankaa-3 as Target (#653)
Browse files Browse the repository at this point in the history
* Add Ankaa-3 as target

* add Ankaa-3 to notebooks

* update qubit count
  • Loading branch information
kalzoo authored Jan 13, 2025
1 parent 20dc5cb commit cfbef2c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions azure-quantum/azure/quantum/target/rigetti/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ 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"

ANKAA_9Q_3 = "rigetti.qpu.ankaa-9q-3"

def simulators() -> List[str]:
Expand All @@ -41,6 +43,7 @@ def simulators() -> List[str]:
def qpus() -> List[str]:
"""Returns a list of QPU targets"""
return [
RigettiTarget.ANKAA_3.value,
RigettiTarget.ANKAA_9Q_3.value,
]

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

if target_name == RigettiTarget.QVM.value:
return 20
elif target_name == RigettiTarget.ANKAA_3.value:
return 82
elif target_name == RigettiTarget.ANKAA_9Q_3.value:
return 9
else:
Expand Down
1 change: 1 addition & 0 deletions samples/hello-world/HW-rigetti-qiskit.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,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",
"| Ankaa-3 (hardware) | `rigetti.qpu.ankaa-3` | 82 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n",
"| Ankaa-9Q-3 (hardware) | `rigetti.qpu.ankaa-9q-3` | 9 qubits | A 4th-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)."
Expand Down
1 change: 1 addition & 0 deletions samples/hello-world/HW-rigetti-qsharp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,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",
"| Ankaa-3 (hardware) | `rigetti.qpu.ankaa-3` | 82 qubits | A 4th-generation, square-lattice processor. Pricing based on QPUs. |\n",
"| Ankaa-9Q-3 (hardware) | `rigetti.qpu.ankaa-9q-3` | 9 qubits | A 4th-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)."
Expand Down

0 comments on commit cfbef2c

Please sign in to comment.