Skip to content

Commit

Permalink
refer to transpiler stages docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Feb 21, 2024
1 parent c3f9221 commit 55d051d
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions docs/transpile/transpiler-plugins.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "5aec3ebc-57f6-4472-9dfe-fc8aac585dd9",
"id": "795be283-a243-4adb-a106-5ef0bb743c07",
"metadata": {},
"source": [
"# Transpiler plugins\n",
Expand All @@ -20,7 +20,7 @@
},
{
"cell_type": "markdown",
"id": "f9c4440b-5e9b-44e3-9228-529ea3b34f48",
"id": "bdf51a04-6dc3-475e-af4a-95a7a6587a3d",
"metadata": {},
"source": [
"## List available plugins and install new ones\n",
Expand All @@ -35,7 +35,7 @@
{
"cell_type": "code",
"execution_count": 1,
"id": "1a3c398e-b48d-4679-bfde-a3773b379b3e",
"id": "0869bac8-7c98-4be6-a1c0-653432ff1964",
"metadata": {},
"outputs": [
{
Expand All @@ -58,7 +58,7 @@
{
"cell_type": "code",
"execution_count": 2,
"id": "fa2396d9-5c2f-46d7-98e2-5f5295e99853",
"id": "5007f1ed-8468-45e5-a896-70e251e5539d",
"metadata": {},
"outputs": [
{
Expand All @@ -78,15 +78,15 @@
},
{
"cell_type": "markdown",
"id": "daca8f8f-ea7a-4da5-a9ea-23f7805fe36d",
"id": "bc902820-8c51-429f-a53e-b10b079c09af",
"metadata": {},
"source": [
" If `qiskit-toqm` were installed, then `toqm` would appear in the list of `routing` plugins."
]
},
{
"cell_type": "markdown",
"id": "b723ca18-1358-4cf3-90e4-ae79f1db85b9",
"id": "b233e6c7-9aec-48ba-9dad-27ce1360e013",
"metadata": {},
"source": [
"### List available unitary synthesis plugins\n",
Expand All @@ -97,7 +97,7 @@
{
"cell_type": "code",
"execution_count": 3,
"id": "8535f628-25a9-4651-81de-0ba7aac1e938",
"id": "161e2446-0d6b-4bac-86ee-7f2409246e7b",
"metadata": {},
"outputs": [
{
Expand All @@ -119,7 +119,7 @@
},
{
"cell_type": "markdown",
"id": "5f31164d-a82d-4da3-98b9-39fba6fa3791",
"id": "f9f6f6be-ef00-4300-9877-1d9b81e82c33",
"metadata": {},
"source": [
"### List available high-level sythesis plugins\n",
Expand All @@ -130,7 +130,7 @@
{
"cell_type": "code",
"execution_count": 4,
"id": "d8a3f89f-2157-4c4b-9812-8c5bab7172a8",
"id": "3542155e-cfd6-4571-b62b-ee44df18e087",
"metadata": {},
"outputs": [
{
Expand All @@ -152,7 +152,7 @@
},
{
"cell_type": "markdown",
"id": "8db6f96e-a03f-4364-8bb7-fa195a9408ac",
"id": "b8b96b12-9301-4a55-8f70-52b4136e6a05",
"metadata": {},
"source": [
"You can use the [HighLevelSynthesisPluginManager](/api/qiskit/qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPluginManager) class to list the names of all high-level synthesis plugins:"
Expand All @@ -161,7 +161,7 @@
{
"cell_type": "code",
"execution_count": 21,
"id": "b5eaa297-fea8-4a48-9d4a-c247a9d38aa9",
"id": "c5f9defb-521c-4634-871f-3ac0ab7e6faf",
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -196,7 +196,7 @@
},
{
"cell_type": "markdown",
"id": "79f983c1-495a-4e9e-9fb8-80aa55ea1966",
"id": "242c557f-4e3c-4f7e-a417-a497fc6da3e6",
"metadata": {},
"source": [
"## Use a plugin\n",
Expand All @@ -209,7 +209,7 @@
{
"cell_type": "code",
"execution_count": 5,
"id": "bf81a38d-a9d4-4e98-936c-5edf8181c2ad",
"id": "76738594-1ded-4a68-8d1e-8f23f91f0c9e",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -227,7 +227,7 @@
{
"attachments": {},
"cell_type": "markdown",
"id": "2e3dc574-618c-4386-a8af-fb3261e98dc9",
"id": "777f43c2-9802-4b61-8a8d-a5370fa25431",
"metadata": {},
"source": [
"### Use a unitary synthesis plugin\n",
Expand All @@ -238,7 +238,7 @@
{
"cell_type": "code",
"execution_count": 6,
"id": "49e7a6ca-3596-474a-a943-68f49149019a",
"id": "247807c2-ab7b-46df-aa96-53739c227e00",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -252,18 +252,18 @@
},
{
"cell_type": "markdown",
"id": "dd23f4e2-6042-4fb6-a919-d376a0195ff5",
"id": "c32c5ff8-e072-490a-b835-3836022f9907",
"metadata": {},
"source": [
"Unitary synthesis is used in the `init`, `translation`, and `optimization` stages of the staged pass manager returned by [`generate_preset_pass_manager`](/api/qiskit/transpiler_preset#generate_preset_pass_manager) or used in [`transpile`](/api/qiskit/compiler#qiskit.compiler.transpile).\n",
"Unitary synthesis is used in the `init`, `translation`, and `optimization` stages of the staged pass manager returned by [`generate_preset_pass_manager`](/api/qiskit/transpiler_preset#generate_preset_pass_manager) or used in [`transpile`](/api/qiskit/compiler#qiskit.compiler.transpile). See [Transpiler stages](transpiler-stages) for a description of these stages.\n",
"\n",
"Use the `unitary_synthesis_plugin_config` argument, a free-form dictionary, to pass options for the unitary synthesis method. The documentation of the synthesis method should explain the options it supports. See [this list](/api/qiskit/transpiler_synthesis_plugins#unitary-synthesis-plugins-2) for links to the documentation of the built-in unitary synthesis plugins."
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "1f664d6e-670c-40c2-994b-be980656605c",
"id": "78436237-1bbf-43cb-91d5-bc2f67eb72e7",
"metadata": {},
"source": [
"### Use a high-level synthesis plugin\n",
Expand All @@ -275,7 +275,7 @@
{
"cell_type": "code",
"execution_count": 7,
"id": "3a8e775b-749c-44e8-9767-5c0e5233a096",
"id": "21de4399-2aa4-4432-b758-5e9c2d66d79b",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -286,7 +286,7 @@
},
{
"cell_type": "markdown",
"id": "85bd015c-8697-40e2-b06f-3ef4762d8bc0",
"id": "cc2e87c5-80da-42ce-a1f1-700a749d9e3f",
"metadata": {},
"source": [
"This code cell creates a high-level synthesis configuration that uses the `layers` plugin\n",
Expand All @@ -306,7 +306,7 @@
{
"cell_type": "code",
"execution_count": 8,
"id": "e3ceb56b-7910-4e99-bc38-ed81ba9fdb55",
"id": "b1e6e330-c51e-40fe-85a1-d10c98f0450d",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -317,10 +317,10 @@
},
{
"cell_type": "markdown",
"id": "f72797af-c104-4938-bd1d-9e7e248fd6f6",
"id": "41dbe866-95b1-4e6f-bd26-21e292afb87f",
"metadata": {},
"source": [
"High-level synthesis is used in the `init`, `translation`, and `optimization` stages of the staged pass manager returned by [`generate_preset_pass_manager`](/api/qiskit/transpiler_preset#generate_preset_pass_manager) or used in [`transpile`](/api/qiskit/compiler#qiskit.compiler.transpile)."
"High-level synthesis is used in the `init`, `translation`, and `optimization` stages of the staged pass manager returned by [`generate_preset_pass_manager`](/api/qiskit/transpiler_preset#generate_preset_pass_manager) or used in [`transpile`](/api/qiskit/compiler#qiskit.compiler.transpile). See [Transpiler stages](transpiler-stages) for a description of these stages."
]
}
],
Expand Down

0 comments on commit 55d051d

Please sign in to comment.