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

29 lines
1.8 KiB
Plaintext

---
title: BMSynthesisClifford (v1.2)
description: API reference for qiskit.transpiler.passes.synthesis.high_level_synthesis.BMSynthesisClifford in qiskit v1.2
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.transpiler.passes.synthesis.high_level_synthesis.BMSynthesisClifford
---
# BMSynthesisClifford
<Class id="qiskit.transpiler.passes.synthesis.high_level_synthesis.BMSynthesisClifford" isDedicatedPage={true} github="https://github.com/Qiskit/qiskit/tree/stable/1.2/qiskit/transpiler/passes/synthesis/high_level_synthesis.py#L754-L770" signature="qiskit.transpiler.passes.synthesis.high_level_synthesis.BMSynthesisClifford" modifiers="class">
Bases: [`HighLevelSynthesisPlugin`](qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin "qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin")
Clifford synthesis plugin based on the Bravyi-Maslov method.
The method only works on Cliffords with at most 3 qubits, for which it constructs the optimal CX cost decomposition.
This plugin name is :`clifford.bm` which can be used as the key on an [`HLSConfig`](qiskit.transpiler.passes.HLSConfig "qiskit.transpiler.passes.synthesis.high_level_synthesis.HLSConfig") object to use this method with [`HighLevelSynthesis`](qiskit.transpiler.passes.HighLevelSynthesis "qiskit.transpiler.passes.synthesis.high_level_synthesis.HighLevelSynthesis").
## Methods
### run
<Function id="qiskit.transpiler.passes.synthesis.high_level_synthesis.BMSynthesisClifford.run" github="https://github.com/Qiskit/qiskit/tree/stable/1.2/qiskit/transpiler/passes/synthesis/high_level_synthesis.py#L764-L770" signature="run(high_level_object, coupling_map=None, target=None, qubits=None, **options)">
Run synthesis for the given Clifford.
</Function>
</Class>