Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

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

abstract UnitarySynthesisPlugin.run(unitary, **options)[source]

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