SynthesisPass.synthesize

abstractmethod async SynthesisPass.synthesize(target, data)[source]

Synthesis abstract method to synthesize a UnitaryMatrix into a Circuit.

Parameters:
  • utry (UnitaryMatrix) – The unitary to synthesize.

  • data (PassData) – Associated data for the pass. Can be used to provide auxillary information from previous passes. This function should never error based on what is in this dictionary.

Return type:

Circuit

Note

This function should be self-contained and have no side effects.