Remove deprecated quantinuum h1-2 target (#841)

This commit is contained in:
Xinyi Joffre 2023-12-11 15:03:23 -08:00 коммит произвёл GitHub
Родитель ce0595d407
Коммит fd0ff6f765
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
11 изменённых файлов: 17 добавлений и 35 удалений

Просмотреть файл

@ -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",

Просмотреть файл

@ -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)."

Просмотреть файл

@ -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",

Просмотреть файл

@ -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)."
]
},
{

Просмотреть файл

@ -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"

Просмотреть файл

@ -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

Просмотреть файл

@ -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,

Просмотреть файл

@ -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>]"
]
},

Просмотреть файл

@ -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>]"
]
},

Просмотреть файл

@ -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>]"
]
},

Просмотреть файл

@ -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"
]
}
],