diff --git a/azure-quantum/azure/quantum/target/rigetti/target.py b/azure-quantum/azure/quantum/target/rigetti/target.py index c61c16ed..4685b1ca 100644 --- a/azure-quantum/azure/quantum/target/rigetti/target.py +++ b/azure-quantum/azure/quantum/target/rigetti/target.py @@ -31,6 +31,8 @@ class RigettiTarget(str, Enum): ANKAA_2 = "rigetti.qpu.ankaa-2" + ANKAA_9Q_3 = "rigetti.qpu.ankaa-9q-3" + def simulators() -> List[str]: """Returns a list of simulator targets""" return [ @@ -41,6 +43,7 @@ def qpus() -> List[str]: """Returns a list of QPU targets""" return [ RigettiTarget.ANKAA_2.value, + RigettiTarget.ANKAA_9Q_3.value, ] def num_qubits(target_name) -> int: @@ -50,6 +53,8 @@ def num_qubits(target_name) -> int: return 20 elif target_name == RigettiTarget.ANKAA_2.value: return 84 + elif target_name == RigettiTarget.ANKAA_9Q_3.value: + return 9 else: raise ValueError(f"Unknown target {target_name}") diff --git a/samples/hello-world/HW-rigetti-qiskit.ipynb b/samples/hello-world/HW-rigetti-qiskit.ipynb index 05dcd28d..819b8b81 100644 --- a/samples/hello-world/HW-rigetti-qiskit.ipynb +++ b/samples/hello-world/HW-rigetti-qiskit.ipynb @@ -135,6 +135,7 @@ "| --- | --- | --- | --- |\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-2 (hardware) | `rigetti.qpu.ankaa-2` | 84 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)." ] diff --git a/samples/hello-world/HW-rigetti-qsharp.ipynb b/samples/hello-world/HW-rigetti-qsharp.ipynb index a64fe6ae..b8490d5d 100644 --- a/samples/hello-world/HW-rigetti-qsharp.ipynb +++ b/samples/hello-world/HW-rigetti-qsharp.ipynb @@ -129,6 +129,7 @@ "| --- | --- | --- | --- |\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-2 (hardware) | `rigetti.qpu.ankaa-2` | 84 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)." ]