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

45 lines
2.6 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: ModularAdderSynthesisD00 (latest version)
description: API reference for qiskit.transpiler.passes.synthesis.hls_plugins.ModularAdderSynthesisD00 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.ModularAdderSynthesisD00
---
# ModularAdderSynthesisD00
<Class id="qiskit.transpiler.passes.synthesis.hls_plugins.ModularAdderSynthesisD00" isDedicatedPage={true} github="https://github.com/Qiskit/qiskit/tree/stable/1.3/qiskit/transpiler/passes/synthesis/hls_plugins.py#L1344-L1355" signature="qiskit.transpiler.passes.synthesis.hls_plugins.ModularAdderSynthesisD00" modifiers="class">
Bases: [`HighLevelSynthesisPlugin`](qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin "qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin")
A QFT-based adder, modulo $2^n$.
This plugin name is:`ModularAdder.qft_d00` 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.ModularAdderSynthesisD00.run" github="https://github.com/Qiskit/qiskit/tree/stable/1.3/qiskit/transpiler/passes/synthesis/hls_plugins.py#L1351-L1355" signature="run(high_level_object, coupling_map=None, target=None, qubits=None, **options)">
Run synthesis for the given Operation.
**Parameters**
* **high\_level\_object** ([*Operation*](qiskit.circuit.Operation "qiskit.circuit.Operation")) The Operation to synthesize to a [`DAGCircuit`](qiskit.dagcircuit.DAGCircuit "qiskit.dagcircuit.DAGCircuit") object.
* **coupling\_map** ([*CouplingMap*](qiskit.transpiler.CouplingMap "qiskit.transpiler.CouplingMap")) The coupling map of the backend in case synthesis is done on a physical circuit.
* **target** ([*Target*](qiskit.transpiler.Target "qiskit.transpiler.Target")) A target representing the target backend.
* **qubits** ([*list*](https://docs.python.org/3/library/stdtypes.html#list "(in Python v3.13)")) List of qubits over which the operation is defined in case synthesis is done on a physical circuit.
* **options** Additional method-specific optional kwargs.
**Returns**
**The quantum circuit representation of the Operation**
when successful, and `None` otherwise.
**Return type**
[QuantumCircuit](qiskit.circuit.QuantumCircuit "qiskit.circuit.QuantumCircuit")
</Function>
</Class>