Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ankaa-3 as Target #653

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading