diff --git a/samples/azure-quantum/adapting-code/adapting-qiskit-sample.ipynb b/samples/azure-quantum/adapting-code/adapting-qiskit-sample.ipynb index 75ddb6983ebe..29a470d158ff 100644 --- a/samples/azure-quantum/adapting-code/adapting-qiskit-sample.ipynb +++ b/samples/azure-quantum/adapting-code/adapting-qiskit-sample.ipynb @@ -96,8 +96,8 @@ "rigetti_qpu_backend = provider.get_backend(\"rigetti.qpu.aspen-m-3\")\n", "\n", "# Create Quantinuum simulator and QPU backends\n", - "quantinuum_simulator_backend = provider.get_backend(\"quantinuum.sim.h1-2sc\")\n", - "quantinuum_qpu_backend = provider.get_backend(\"quantinuum.qpu.h1-2\")\n", + "quantinuum_simulator_backend = provider.get_backend(\"quantinuum.sim.h1-1sc\")\n", + "quantinuum_qpu_backend = provider.get_backend(\"quantinuum.qpu.h1-1\")\n", "\n", "backend = ionq_simulator_backend\n", "```\n", diff --git a/samples/azure-quantum/hello-world/HW-quantinuum-cirq.ipynb b/samples/azure-quantum/hello-world/HW-quantinuum-cirq.ipynb index 98065b8c0a90..33740800d841 100644 --- a/samples/azure-quantum/hello-world/HW-quantinuum-cirq.ipynb +++ b/samples/azure-quantum/hello-world/HW-quantinuum-cirq.ipynb @@ -120,13 +120,10 @@ "| Target name | Target ID | Number of qubits | Description|\n", "| --- | ---| ---|---|\n", "H1-1 Syntax Checker | `quantinuum.sim.h1-1sc` | 20 | Quantinuum's H1-1 Syntax Checker. This will return all zeros in place of actual or simulated results. Use this to validate quantum programs against the H1-1 compiler before submitting to hardware or emulators on Quantinuum's platform. Free of cost. |\n", - "H1-2 Syntax Checker | `quantinuum.sim.h1-2sc` | 20 | Quantinuum's H1-2 Syntax Checker. This will return all zeros in place of actual or simulated results. Use this to validate quantum programs against the H1-2 compiler before submitting to hardware or emulators on Quantinuum's platform. Free of cost. |\n", "H2-1 Syntax Checker | `quantinuum.sim.h2-1sc` | 32 | Quantinuum's H2-1 Syntax Checker. This will return all zeros in place of actual or simulated results. Use this to validate quantum programs against the H2-1 compiler before submitting to hardware or emulators on Quantinuum's platform. Free of cost. |\n", "H1-1 Emulator | `quantinuum.sim.h1-1e` | 20 | Quantinuum's H1-1 Emulator. Uses a realistic physical model and noise model of H1-1. |\n", - "H1-2 Emulator | `quantinuum.sim.h1-2e` | 20 | Quantinuum's H1-2 Emulator. Uses a realistic physical model and noise model of H1-2. |\n", "H2-1 Emulator | `quantinuum.sim.h2-1e` | 32 | Quantinuum's H2-1 Emulator. Uses a realistic physical model and noise model of H2-1. |\n", "H1-1 | `quantinuum.qpu.h1-1` | 20 | Quantinuum's H1-1 trapped ion device. |\n", - "H1-2 | `quantinuum.qpu.h1-2` | 20 | Quantinuum's H1-2 trapped ion device. |\n", "H2-1 | `quantinuum.qpu.h2-1` | 32 | Quantinuum's H2-1 trapped ion device. |\n", "\n", "For this example, we will use `quantinuum.sim.h1-1sc` to avoid any costs or credit usage. If you wish to emulate or run the actual circuit, you may replace all instances of `quantinuum.sim.h1-1sc` in subsequent code cells with one of the other values in the table above, but please note any costs incurred. To learn more about Quantinuum's targets, check out our [documentation](https://aka.ms/AQ/Quantinuum/Documentation)." diff --git a/samples/azure-quantum/hello-world/HW-quantinuum-qiskit.ipynb b/samples/azure-quantum/hello-world/HW-quantinuum-qiskit.ipynb index 2f0db14eee8b..f0c174d40c4f 100644 --- a/samples/azure-quantum/hello-world/HW-quantinuum-qiskit.ipynb +++ b/samples/azure-quantum/hello-world/HW-quantinuum-qiskit.ipynb @@ -96,10 +96,7 @@ "- ionq.simulator\n", "- quantinuum.qpu.h1-1\n", "- quantinuum.sim.h1-1sc\n", - "- quantinuum.qpu.h1-2\n", - "- quantinuum.sim.h1-2sc\n", - "- quantinuum.sim.h1-1e\n", - "- quantinuum.sim.h1-2e\n" + "- quantinuum.sim.h1-1e\n" ] } ], @@ -134,16 +131,13 @@ "| Target name | Target ID | Number of qubits | Description|\n", "| --- | ---| ---|---|\n", "H1-1 Syntax Checker | `quantinuum.sim.h1-1sc` | 20 | Quantinuum's H1-1 Syntax Checker. This will return all zeros in place of actual or simulated results. Use this to validate quantum programs against the H1-1 compiler before submitting to hardware or emulators on Quantinuum's platform. Free of cost. |\n", - "H1-2 Syntax Checker | `quantinuum.sim.h1-2sc` | 20 | Quantinuum's H1-2 Syntax Checker. This will return all zeros in place of actual or simulated results. Use this to validate quantum programs against the H1-2 compiler before submitting to hardware or emulators on Quantinuum's platform. Free of cost. |\n", "H2-1 Syntax Checker | `quantinuum.sim.h2-1sc` | 32 | Quantinuum's H2-1 Syntax Checker. This will return all zeros in place of actual or simulated results. Use this to validate quantum programs against the H2-1 compiler before submitting to hardware or emulators on Quantinuum's platform. Free of cost. |\n", "H1-1 Emulator | `quantinuum.sim.h1-1e` | 20 | Quantinuum's H1-1 Emulator. Uses a realistic physical model and noise model of H1-1. |\n", - "H1-2 Emulator | `quantinuum.sim.h1-2e` | 20 | Quantinuum's H1-2 Emulator. Uses a realistic physical model and noise model of H1-2. |\n", "H2-1 Emulator | `quantinuum.sim.h2-1e` | 32 | Quantinuum's H2-1 Emulator. Uses a realistic physical model and noise model of H2-1. |\n", "H1-1 | `quantinuum.qpu.h1-1` | 20 | Quantinuum's H1-1 trapped ion device. |\n", - "H1-2 | `quantinuum.qpu.h1-2` | 20 | Quantinuum's H1-2 trapped ion device. |\n", "H2-1 | `quantinuum.qpu.h2-1` | 32 | Quantinuum's H2-1 trapped ion device. |\n", "\n", - "For this example, we will use `quantinuum.sim.h1-2sc` to avoid any costs or credit usage. If you wish to emulate or run the actual circuit, you may replace all instances of `quantinuum.sim.h1-2sc` in subsequent code cells with one of the other values in the table above, but please note any costs incurred. To learn more about Quantinuum's targets, check out our [documentation](https://aka.ms/AQ/Quantinuum/Documentation)." + "For this example, we will use `quantinuum.sim.h1-1sc` to avoid any costs or credit usage. If you wish to emulate or run the actual circuit, you may replace all instances of `quantinuum.sim.h1-1sc` in subsequent code cells with one of the other values in the table above, but please note any costs incurred. To learn more about Quantinuum's targets, check out our [documentation](https://aka.ms/AQ/Quantinuum/Documentation)." ] }, { @@ -206,7 +200,7 @@ } }, "source": [ - "The circuit you built is a simple quantum random bit generator. With Quantinuum's Syntax Checker, we will be able to confirm that the circuit is able to be run on the Quantinuum H1-2 emulator and hardware." + "The circuit you built is a simple quantum random bit generator. With Quantinuum's Syntax Checker, we will be able to confirm that the circuit is able to be run on the Quantinuum H1-1 emulator and hardware." ] }, { @@ -232,11 +226,11 @@ } ], "source": [ - "# Create an object that represents Quantinuum's Syntax Checker target, \"quantinuum.sim.h1-2sc\".\n", + "# Create an object that represents Quantinuum's Syntax Checker target, \"quantinuum.sim.h1-1sc\".\n", "# Note that any target you have enabled in this workspace can\n", "# be used here. Azure Quantum makes it extremely easy to submit\n", "# the same quantum program to different providers. \n", - "quantinuum_api_val_backend = provider.get_backend(\"quantinuum.sim.h1-2sc\")\n", + "quantinuum_api_val_backend = provider.get_backend(\"quantinuum.sim.h1-1sc\")\n", "\n", "# Using the Quantinuum target, call \"run\" to submit the job. We'll\n", "# use a count of 100 (simulated runs).\n", @@ -350,7 +344,7 @@ } ], "source": [ - "backend = provider.get_backend(\"quantinuum.qpu.h1-2\")\n", + "backend = provider.get_backend(\"quantinuum.qpu.h1-1\")\n", "cost = backend.estimate_cost(circuit, shots=100)\n", "print(f\"Estimated cost: {cost.estimated_total} {cost.currency_code}\")" ] @@ -367,7 +361,7 @@ }, "source": [ "### 6. Next steps\n", - "Next, you can try running a program on Quantinuum's H1-2 emulation and hardware targets. Just replace `quantinuum.sim.h1-2sc` with `quantinuum.sim.h1-2e` or `quantinuum.qpu.h1-2`. Or try another sample by navigating back to the sample gallery. The same \"hello world\" sample can be run with different quantum providers by choosing another option in the gallery card drop-down menu. Don't worry - your work here is automatically saved.\n", + "Next, you can try running a program on Quantinuum's H1-1 emulation and hardware targets. Just replace `quantinuum.sim.h1-1sc` with `quantinuum.sim.h1-1e` or `quantinuum.qpu.h1-1`. Or try another sample by navigating back to the sample gallery. The same \"hello world\" sample can be run with different quantum providers by choosing another option in the gallery card drop-down menu. Don't worry - your work here is automatically saved.\n", "\n", "To learn more about submitting Qiskit circuits to Azure Quantum, review [this documentation](https://docs.microsoft.com/azure/quantum/quickstart-microsoft-qiskit?pivots=platform-quantinuum).\n", "\n", diff --git a/samples/azure-quantum/hello-world/HW-quantinuum-qsharp.ipynb b/samples/azure-quantum/hello-world/HW-quantinuum-qsharp.ipynb index 3d134cd8888b..f72cb3fb0880 100644 --- a/samples/azure-quantum/hello-world/HW-quantinuum-qsharp.ipynb +++ b/samples/azure-quantum/hello-world/HW-quantinuum-qsharp.ipynb @@ -124,10 +124,7 @@ "- ionq.simulator\n", "- quantinuum.qpu.h1-1\n", "- quantinuum.sim.h1-1sc\n", - "- quantinuum.qpu.h1-2\n", - "- quantinuum.sim.h1-2sc\n", "- quantinuum.sim.h1-1e\n", - "- quantinuum.sim.h1-2e\n", "- quantinuum.qpu.h1\n" ] } @@ -165,16 +162,13 @@ "| Target name | Target ID | Number of qubits | Description|\n", "| --- | ---| ---|---|\n", "H1-1 Syntax Checker | `quantinuum.sim.h1-1sc` | 20 | Quantinuum's H1-1 Syntax Checker. This will return all zeros in place of actual or simulated results. Use this to validate quantum programs against the H1-1 compiler before submitting to hardware or emulators on Quantinuum's platform. Free of cost. |\n", - "H1-2 Syntax Checker | `quantinuum.sim.h1-2sc` | 20 | Quantinuum's H1-2 Syntax Checker. This will return all zeros in place of actual or simulated results. Use this to validate quantum programs against the H1-2 compiler before submitting to hardware or emulators on Quantinuum's platform. Free of cost. |\n", "H2-1 Syntax Checker | `quantinuum.sim.h2-1sc` | 32 | Quantinuum's H2-1 Syntax Checker. This will return all zeros in place of actual or simulated results. Use this to validate quantum programs against the H2-1 compiler before submitting to hardware or emulators on Quantinuum's platform. Free of cost. |\n", "H1-1 Emulator | `quantinuum.sim.h1-1e` | 20 | Quantinuum's H1-1 Emulator. Uses a realistic physical model and noise model of H1-1. |\n", - "H1-2 Emulator | `quantinuum.sim.h1-2e` | 20 | Quantinuum's H1-2 Emulator. Uses a realistic physical model and noise model of H1-2. |\n", "H2-1 Emulator | `quantinuum.sim.h2-1e` | 32 | Quantinuum's H2-1 Emulator. Uses a realistic physical model and noise model of H2-1. |\n", "H1-1 | `quantinuum.qpu.h1-1` | 20 | Quantinuum's H1-1 trapped ion device. |\n", - "H1-2 | `quantinuum.qpu.h1-2` | 20 | Quantinuum's H1-2 trapped ion device. |\n", "H2-1 | `quantinuum.qpu.h2-1` | 32 | Quantinuum's H2-1 trapped ion device. |\n", "\n", - "For this example, we will use `quantinuum.sim.h1-2sc` to avoid any costs or credit usage. If you wish to emulate or run the actual circuit, you may replace all instances of `quantinuum.sim.h1-2sc` in subsequent code cells with one of the other values in the table above, but please note any costs incurred. To learn more about Quantinuum's targets, check out our [documentation](https://aka.ms/AQ/Quantinuum/Documentation)." + "For this example, we will use `quantinuum.sim.h1-1sc` to avoid any costs or credit usage. If you wish to emulate or run the actual circuit, you may replace all instances of `quantinuum.sim.h1-1sc` in subsequent code cells with one of the other values in the table above, but please note any costs incurred. To learn more about Quantinuum's targets, check out our [documentation](https://aka.ms/AQ/Quantinuum/Documentation)." ] }, { diff --git a/samples/azure-quantum/hidden-shift/hidden-shift.ipynb b/samples/azure-quantum/hidden-shift/hidden-shift.ipynb index e84fb38184f9..c8d0eefcea11 100644 --- a/samples/azure-quantum/hidden-shift/hidden-shift.ipynb +++ b/samples/azure-quantum/hidden-shift/hidden-shift.ipynb @@ -100,8 +100,6 @@ "This workspace's targets:\n", "- quantinuum.qpu.h1-1\n", "- quantinuum.sim.h1-1sc\n", - "- quantinuum.qpu.h1-2\n", - "- quantinuum.sim.h1-2sc\n", "- quantinuum.sim.h1-1e\n", "- ionq.qpu\n", "- ionq.simulator\n" diff --git a/samples/azure-quantum/parallel-qrng/demo.md b/samples/azure-quantum/parallel-qrng/demo.md new file mode 100644 index 000000000000..593cc3682822 --- /dev/null +++ b/samples/azure-quantum/parallel-qrng/demo.md @@ -0,0 +1,5 @@ +az quantum target list --output table + +az quantum job submit --target-id ionq.simulator --job-name Async-GenerateRandomBits --output table -- --n-qubits=2 + +az quantum job output -o table --job-id 62729087-0802-41bb-aa26-081a5cef9be1 \ No newline at end of file diff --git a/samples/azure-quantum/qsp/qsp.ipynb b/samples/azure-quantum/qsp/qsp.ipynb index b4fe04bbecd1..df72c74a29d4 100644 --- a/samples/azure-quantum/qsp/qsp.ipynb +++ b/samples/azure-quantum/qsp/qsp.ipynb @@ -364,7 +364,7 @@ { "output_type": "stream", "name": "stdout", - "text": "This workspace's targets:\n- honeywell.hqs-lt-s1\n- honeywell.hqs-lt-s1-apival\n- honeywell.hqs-lt-s2\n- honeywell.hqs-lt-s2-apival\n- honeywell.hqs-lt-s1-sim\n- ionq.qpu\n- ionq.qpu.aria-1\n- ionq.simulator\n- quantinuum.hqs-lt-s1\n- quantinuum.hqs-lt-s1-apival\n- quantinuum.hqs-lt-s2\n- quantinuum.hqs-lt-s2-apival\n- quantinuum.hqs-lt-s1-sim\n- quantinuum.hqs-lt-s2-sim\n- quantinuum.qpu.h1-1\n- quantinuum.sim.h1-1sc\n- quantinuum.qpu.h1-2\n- quantinuum.sim.h1-2sc\n- quantinuum.sim.h1-1e\n- quantinuum.sim.h1-2e\n" + "text": "This workspace's targets:\n- honeywell.hqs-lt-s1\n- honeywell.hqs-lt-s1-apival\n- honeywell.hqs-lt-s2\n- honeywell.hqs-lt-s2-apival\n- honeywell.hqs-lt-s1-sim\n- ionq.qpu\n- ionq.qpu.aria-1\n- ionq.simulator\n- quantinuum.hqs-lt-s1\n- quantinuum.hqs-lt-s1-apival\n- quantinuum.hqs-lt-s2\n- quantinuum.hqs-lt-s2-apival\n- quantinuum.hqs-lt-s1-sim\n- quantinuum.hqs-lt-s2-sim\n- quantinuum.qpu.h1-1\n- quantinuum.sim.h1-1sc\n- quantinuum.sim.h1-1e\n" } ], "execution_count": 11, diff --git a/samples/getting-started/azure-quantum/cirq/Getting-started-with-Cirq-and-IonQ-on-Azure-Quantum.ipynb b/samples/getting-started/azure-quantum/cirq/Getting-started-with-Cirq-and-IonQ-on-Azure-Quantum.ipynb index 50c17fdfea3f..eef72f49a31c 100644 --- a/samples/getting-started/azure-quantum/cirq/Getting-started-with-Cirq-and-IonQ-on-Azure-Quantum.ipynb +++ b/samples/getting-started/azure-quantum/cirq/Getting-started-with-Cirq-and-IonQ-on-Azure-Quantum.ipynb @@ -84,8 +84,6 @@ " ,\n", " ,\n", " ,\n", - " ,\n", - " ,\n", " ]" ] }, diff --git a/samples/getting-started/azure-quantum/cirq/Getting-started-with-Cirq-and-Quantinuum-on-Azure-Quantum.ipynb b/samples/getting-started/azure-quantum/cirq/Getting-started-with-Cirq-and-Quantinuum-on-Azure-Quantum.ipynb index c5f1f6c7b295..3c93ce639af4 100644 --- a/samples/getting-started/azure-quantum/cirq/Getting-started-with-Cirq-and-Quantinuum-on-Azure-Quantum.ipynb +++ b/samples/getting-started/azure-quantum/cirq/Getting-started-with-Cirq-and-Quantinuum-on-Azure-Quantum.ipynb @@ -77,8 +77,6 @@ " ,\n", " ,\n", " ,\n", - " ,\n", - " ,\n", " ]" ] }, diff --git a/samples/getting-started/azure-quantum/provider-specific/Getting-started-with-Quantinuum-and-OpenQASM-2.0-on-Azure-Quantum.ipynb b/samples/getting-started/azure-quantum/provider-specific/Getting-started-with-Quantinuum-and-OpenQASM-2.0-on-Azure-Quantum.ipynb index 0bf54a9e20a8..3649d81e49e3 100644 --- a/samples/getting-started/azure-quantum/provider-specific/Getting-started-with-Quantinuum-and-OpenQASM-2.0-on-Azure-Quantum.ipynb +++ b/samples/getting-started/azure-quantum/provider-specific/Getting-started-with-Quantinuum-and-OpenQASM-2.0-on-Azure-Quantum.ipynb @@ -78,8 +78,6 @@ "text/plain": [ "[,\n", " ,\n", - " ,\n", - " ,\n", " ]" ] }, diff --git a/samples/getting-started/azure-quantum/qiskit/Getting-started-with-Qiskit-and-IonQ-on-Azure-Quantum.ipynb b/samples/getting-started/azure-quantum/qiskit/Getting-started-with-Qiskit-and-IonQ-on-Azure-Quantum.ipynb index 08d8edf5ede3..3a0002fca0eb 100644 --- a/samples/getting-started/azure-quantum/qiskit/Getting-started-with-Qiskit-and-IonQ-on-Azure-Quantum.ipynb +++ b/samples/getting-started/azure-quantum/qiskit/Getting-started-with-Qiskit-and-IonQ-on-Azure-Quantum.ipynb @@ -98,7 +98,7 @@ "output_type": "stream", "name": "stdout", "text": [ - "['ionq.qpu', 'ionq.simulator', 'quantinuum.qpu.h1-1', 'quantinuum.sim.h1-1sc', 'quantinuum.qpu.h1-2', 'quantinuum.sim.h1-2sc', 'quantinuum.sim.h1-1e']\n" + "['ionq.qpu', 'ionq.simulator', 'quantinuum.qpu.h1-1', 'quantinuum.sim.h1-1sc', 'quantinuum.sim.h1-1e']\n" ] } ],