qiskit-documentation/docs/api/qiskit/qiskit.transpiler.passes.sy...

27 lines
1.6 KiB
Plaintext

---
title: GreedySynthesisClifford (latest version)
description: API reference for qiskit.transpiler.passes.synthesis.hls_plugins.GreedySynthesisClifford in the latest version of qiskit
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.transpiler.passes.synthesis.hls_plugins.GreedySynthesisClifford
---
# GreedySynthesisClifford
<Class id="qiskit.transpiler.passes.synthesis.hls_plugins.GreedySynthesisClifford" isDedicatedPage={true} github="https://github.com/Qiskit/qiskit/tree/stable/1.3/qiskit/transpiler/passes/synthesis/hls_plugins.py#L535-L549" signature="qiskit.transpiler.passes.synthesis.hls_plugins.GreedySynthesisClifford" modifiers="class">
Bases: [`HighLevelSynthesisPlugin`](qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin "qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin")
Clifford synthesis plugin based on the greedy synthesis Bravyi-Hu-Maslov-Shaydulin method.
This plugin name is :`clifford.greedy` which can be used as the key on an [`HLSConfig`](qiskit.transpiler.passes.HLSConfig "qiskit.transpiler.passes.HLSConfig") object to use this method with [`HighLevelSynthesis`](qiskit.transpiler.passes.HighLevelSynthesis "qiskit.transpiler.passes.HighLevelSynthesis").
## Methods
### run
<Function id="qiskit.transpiler.passes.synthesis.hls_plugins.GreedySynthesisClifford.run" github="https://github.com/Qiskit/qiskit/tree/stable/1.3/qiskit/transpiler/passes/synthesis/hls_plugins.py#L543-L549" signature="run(high_level_object, coupling_map=None, target=None, qubits=None, **options)">
Run synthesis for the given Clifford.
</Function>
</Class>