29 lines
1.8 KiB
Plaintext
29 lines
1.8 KiB
Plaintext
---
|
|
title: DefaultSynthesisClifford (latest version)
|
|
description: API reference for qiskit.transpiler.passes.synthesis.hls_plugins.DefaultSynthesisClifford 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.DefaultSynthesisClifford
|
|
---
|
|
|
|
# DefaultSynthesisClifford
|
|
|
|
<Class id="qiskit.transpiler.passes.synthesis.hls_plugins.DefaultSynthesisClifford" isDedicatedPage={true} github="https://github.com/Qiskit/qiskit/tree/stable/1.3/qiskit/transpiler/passes/synthesis/hls_plugins.py#L476-L493" signature="qiskit.transpiler.passes.synthesis.hls_plugins.DefaultSynthesisClifford" modifiers="class">
|
|
Bases: [`HighLevelSynthesisPlugin`](qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin "qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin")
|
|
|
|
The default clifford synthesis plugin.
|
|
|
|
For N \<= 3 qubits this is the optimal CX cost decomposition by Bravyi, Maslov. For N > 3 qubits this is done using the general non-optimal greedy compilation routine from reference by Bravyi, Hu, Maslov, Shaydulin.
|
|
|
|
This plugin name is :`clifford.default` 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.DefaultSynthesisClifford.run" github="https://github.com/Qiskit/qiskit/tree/stable/1.3/qiskit/transpiler/passes/synthesis/hls_plugins.py#L487-L493" signature="run(high_level_object, coupling_map=None, target=None, qubits=None, **options)">
|
|
Run synthesis for the given Clifford.
|
|
</Function>
|
|
</Class>
|
|
|