qiskit-documentation/docs/api/qiskit/0.40/qiskit.transpiler.preset_pa...

32 lines
1.9 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: generate_unroll_3q
description: API reference for qiskit.transpiler.preset_passmanagers.common.generate_unroll_3q
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.transpiler.preset_passmanagers.common.generate_unroll_3q
---
# qiskit.transpiler.preset\_passmanagers.common.generate\_unroll\_3q
<Function id="qiskit.transpiler.preset_passmanagers.common.generate_unroll_3q" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.23/qiskit/transpiler/preset_passmanagers/common.py" signature="generate_unroll_3q(target, basis_gates=None, approximation_degree=None, unitary_synthesis_method='default', unitary_synthesis_plugin_config=None, hls_config=None)">
Generate an unroll >3q [`PassManager`](qiskit.transpiler.PassManager "qiskit.transpiler.PassManager")
**Parameters**
* **target** ([*Target*](qiskit.transpiler.Target "qiskit.transpiler.Target")) the [`Target`](qiskit.transpiler.Target "qiskit.transpiler.Target") object representing the backend
* **basis\_gates** (*list*) A list of str gate names that represent the basis gates on the backend target
* **approximation\_degree** (*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\_plugin\_config** (*dict*) The optional dictionary plugin configuration, this is plugin specific refer to the specified plugins documentation for how to use.
* **hls\_config** (*HLSConfig*) An optional configuration class to use for [`HighLevelSynthesis`](qiskit.transpiler.passes.HighLevelSynthesis "qiskit.transpiler.passes.HighLevelSynthesis") pass. Specifies how to synthesize various high-level objects.
**Returns**
The unroll 3q or more pass manager
**Return type**
[PassManager](qiskit.transpiler.PassManager "qiskit.transpiler.PassManager")
</Function>