Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Remove references to deprecated quantinuum h1-2 target #841

Merged
merged 1 commit into from
Dec 11, 2023
Merged
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check warning on line 1 in samples/azure-quantum/adapting-code/adapting-qiskit-sample.ipynb

View workflow job for this annotation

GitHub Actions / Check samples and README layouts

Project or notebook /home/runner/work/Quantum/Quantum/samples/azure-quantum/adapting-code/adapting-qiskit-sample.ipynb does not seem to have a corresponding README.md with appropriate front-matter metadata.
"cells": [
{
"attachments": {},
Expand Down Expand Up @@ -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",
Expand Down
3 changes: 0 additions & 3 deletions samples/azure-quantum/hello-world/HW-quantinuum-cirq.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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)."
Expand Down
20 changes: 7 additions & 13 deletions samples/azure-quantum/hello-world/HW-quantinuum-qiskit.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
],
Expand Down Expand Up @@ -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)."
]
},
{
Expand Down Expand Up @@ -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."
]
},
{
Expand All @@ -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",
Expand Down Expand Up @@ -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}\")"
]
Expand All @@ -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",
Expand Down
8 changes: 1 addition & 7 deletions samples/azure-quantum/hello-world/HW-quantinuum-qsharp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
Expand Down Expand Up @@ -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)."
]
},
{
Expand Down
2 changes: 0 additions & 2 deletions samples/azure-quantum/hidden-shift/hidden-shift.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 5 additions & 0 deletions samples/azure-quantum/parallel-qrng/demo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
az quantum target list --output table

Check warning on line 1 in samples/azure-quantum/parallel-qrng/demo.md

View workflow job for this annotation

GitHub Actions / Check Markdown files

First line in a file should be a top-level heading [Context: "az quantum target list --outpu..."]

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

Check warning on line 5 in samples/azure-quantum/parallel-qrng/demo.md

View workflow job for this annotation

GitHub Actions / Check Markdown files

Files should end with a single newline character
2 changes: 1 addition & 1 deletion samples/azure-quantum/qsp/qsp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@
" <Target name=\"ionq.simulator\", avg. queue time=0 s, Available>,\n",
" <Target name=\"quantinuum.qpu.h1-1\", avg. queue time=0 s, Unavailable>,\n",
" <Target name=\"quantinuum.sim.h1-1sc\", avg. queue time=0 s, Available>,\n",
" <Target name=\"quantinuum.qpu.h1-2\", avg. queue time=93509 s, Available>,\n",
" <Target name=\"quantinuum.sim.h1-2sc\", avg. queue time=0 s, Available>,\n",
" <Target name=\"quantinuum.sim.h1-1e\", avg. queue time=26 s, Available>]"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@
" <Target name=\"ionq.simulator\", avg. queue time=0 s, Available>,\n",
" <Target name=\"quantinuum.qpu.h1-1\", avg. queue time=0 s, Unavailable>,\n",
" <Target name=\"quantinuum.sim.h1-1sc\", avg. queue time=0 s, Available>,\n",
" <Target name=\"quantinuum.qpu.h1-2\", avg. queue time=93509 s, Available>,\n",
" <Target name=\"quantinuum.sim.h1-2sc\", avg. queue time=0 s, Available>,\n",
" <Target name=\"quantinuum.sim.h1-1e\", avg. queue time=26 s, Available>]"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@
"text/plain": [
"[<Target name=\"quantinuum.qpu.h1-1\", avg. queue time=0 s, Unavailable>,\n",
" <Target name=\"quantinuum.sim.h1-1sc\", avg. queue time=0 s, Available>,\n",
" <Target name=\"quantinuum.qpu.h1-2\", avg. queue time=236712 s, Unavailable>,\n",
" <Target name=\"quantinuum.sim.h1-2sc\", avg. queue time=0 s, Available>,\n",
" <Target name=\"quantinuum.sim.h1-1e\", avg. queue time=766 s, Available>]"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
],
Expand Down
Loading