Skip to content

Commit

Permalink
link to unitary_synthesis_plugin_names in `unitary_synthesis_method…
Browse files Browse the repository at this point in the history
…` documentation (#9896)

* link to unitary_synthesis_plugin_names in unitary_synthesis_method doc

* s/tilde/dot

Co-authored-by: Jake Lishman <[email protected]>

* last one

---------

Co-authored-by: Jake Lishman <[email protected]>
  • Loading branch information
1ucian0 and jakelishman authored Apr 17, 2023
1 parent f51a93f commit 81e4913
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
5 changes: 2 additions & 3 deletions qiskit/compiler/transpiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,8 @@ def callback_func(**kwargs):
output_name: A list with strings to identify the output circuits. The length of
the list should be exactly the length of the ``circuits`` parameter.
unitary_synthesis_method (str): The name of the unitary synthesis
method to use. By default 'default' is used, which is the only
method included with qiskit. If you have installed any unitary
synthesis plugins you can use the name exported by the plugin.
method to use. By default ``'default'`` is used. You can see a list of installed
plugins with :func:`.unitary_synthesis_plugin_names`.
unitary_synthesis_plugin_config: An optional configuration dictionary
that will be passed directly to the unitary synthesis plugin. By
default this setting will have no effect as the default unitary
Expand Down
3 changes: 2 additions & 1 deletion qiskit/transpiler/passmanager_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ def __init__(
timing_constraints (TimingConstraints): Hardware time alignment restrictions.
unitary_synthesis_method (str): The string method to use for the
:class:`~qiskit.transpiler.passes.UnitarySynthesis` pass. Will
search installed plugins for a valid method.
search installed plugins for a valid method. You can see a list of
installed plugins with :func:`.unitary_synthesis_plugin_names`.
target (Target): The backend target
hls_config (HLSConfig): An optional configuration class to use for
:class:`~qiskit.transpiler.passes.HighLevelSynthesis` pass.
Expand Down
5 changes: 2 additions & 3 deletions qiskit/transpiler/preset_passmanagers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,8 @@ def generate_preset_pass_manager(
seed_transpiler (int): Sets random seed for the stochastic parts of
the transpiler.
unitary_synthesis_method (str): The name of the unitary synthesis
method to use. By default 'default' is used, which is the only
method included with qiskit. If you have installed any unitary
synthesis plugins you can use the name exported by the plugin.
method to use. By default ``'default'`` is used. You can see a list of
installed plugins with :func:`.unitary_synthesis_plugin_names`.
unitary_synthesis_plugin_config (dict): An optional configuration dictionary
that will be passed directly to the unitary synthesis plugin. By
default this setting will have no effect as the default unitary
Expand Down
6 changes: 4 additions & 2 deletions qiskit/transpiler/preset_passmanagers/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ def generate_unroll_3q(
gates on the backend target
approximation_degree (Optional[float]): The heuristic approximation degree to
use. Can be between 0 and 1.
unitary_synthesis_method (str): The unitary synthesis method to use
unitary_synthesis_method (str): The unitary synthesis method to use. You can see
a list of installed plugins with :func:`.unitary_synthesis_plugin_names`.
unitary_synthesis_plugin_config (dict): The optional dictionary plugin
configuration, this is plugin specific refer to the specified plugin's
documentation for how to use.
Expand Down Expand Up @@ -388,7 +389,8 @@ def generate_translation_passmanager(
documentation for how to use.
backend_props (BackendProperties): Properties of a backend to
synthesize for (e.g. gate fidelities).
unitary_synthesis_method (str): The unitary synthesis method to use
unitary_synthesis_method (str): The unitary synthesis method to use. You can
see a list of installed plugins with :func:`.unitary_synthesis_plugin_names`.
hls_config (HLSConfig): An optional configuration class to use for
:class:`~qiskit.transpiler.passes.HighLevelSynthesis` pass.
Specifies how to synthesize various high-level objects.
Expand Down

0 comments on commit 81e4913

Please sign in to comment.