Skip to main content
IBM Quantum Platform
Esta página corresponde a una versión anterior de Qiskit SDK Ir a la última versión

ModularAdderSynthesisV17

class qiskit.transpiler.passes.synthesis.hls_plugins.ModularAdderSynthesisV17

GitHub

Bases: HighLevelSynthesisPlugin

A modular adder (modulo 2n2^n) without any ancillary qubits.

The plugin name is :ModularAdder.v17 which can be used as the key on an HLSConfig object to use this method with HighLevelSynthesis.

This plugin requires no auxiliary qubits.


Methods

run

run(high_level_object, coupling_map=None, target=None, qubits=None, **options)

GitHub

Run synthesis for the given Operation.

Parameters

  • high_level_object (Operation) – The Operation to synthesize to a DAGCircuit object.
  • coupling_map (CouplingMap) – The coupling map of the backend in case synthesis is done on a physical circuit.
  • target (Target) – A target representing the target backend.
  • qubits (list) – 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

¿Le ha resultado útil esta página?
Informe de un error, de una errata o solicite contenido en GitHub.