paddle_quantum.mbqc.transpiler

This module contains the transpile of the circuit models and MBQC measurement patterns.

paddle_quantum.mbqc.transpiler.transpile(circuit, track=False)

Translate the input circuit model to equivalent measurement patterns.

Parameters:
  • circuit (Circuit) – quantum circuit, possibly contains measurement.

  • track (bool) – The boolean switch of whether showing the progress bar.

Returns:

equivalent measurement pattern

Return type:

pattern (Pattern)