Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.passes.synthesis.plugin.UnitarySynthesisPlugin.run

abstract UnitarySynthesisPlugin.run(unitary, **options)[ソース]

Run synthesis for the given unitary matrix

パラメータ
  • unitary (numpy.ndarray) – The unitary matrix to synthesize to a DAGCircuit object

  • options – The optional kwargs that are passed based on the output the support_* methods on the class. Refer to the documentation for these methods on UnitarySynthesisPlugin to see what the keys and values are.

戻り値

The dag circuit representation of the unitary. Alternatively, you can return a tuple of the form (dag, wires) where dag is the dag circuit representation of the circuit representation of the unitary and wires is the mapping wires to use for qiskit.dagcircuit.DAGCircuit.substitute_node_with_dag(). If you return a tuple and wires is None this will behave just as if only a DAGCircuit was returned. Additionally if this returns None no substitution will be made.

戻り値の型

DAGCircuit