Skip to main content
IBM Quantum Platform
Diese Seite stammt aus einer alten Version von Qiskit SDK und ist in der aktuellen Version nicht mehr vorhanden. Wir empfehlen Ihnen, auf die neueste Version umzusteigen. Weitere Informationen finden Sie in den Versionshinweisen.

KMSSynthesisLinearFunction

class qiskit.transpiler.passes.synthesis.high_level_synthesis.KMSSynthesisLinearFunction

GitHub

Bases: HighLevelSynthesisPlugin

Linear function synthesis plugin based on the Kutin-Moulton-Smithline method.

This plugin name is :linear_function.kms which can be used as the key on an HLSConfig object to use this method with HighLevelSynthesis.

The plugin supports the following plugin-specific options:

  • use_inverted: Indicates whether to run the algorithm on the inverse matrix

    and to invert the synthesized circuit. In certain cases this provides a better decomposition than the direct approach.

  • use_transposed: Indicates whether to run the algorithm on the transposed matrix

    and to invert the order of CX gates in the synthesized circuit. In certain cases this provides a better decomposition than the direct approach.


Methods

run

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

GitHub

Run synthesis for the given LinearFunction.

War diese Seite hilfreich?
Melden Sie auf GitHub einen Fehler, einen Tippfehler oder fordern Sie Inhalte an.