qat.mps.random_circuits.cheng_random_circuit

qat.mps.random_circuits.cheng_random_circuit(nqbits: int, depth: int)

Generate random circuit Program used by Cheng et al. (2021).

Parameters
  • nqbits (int) – Number of qubits in the circuit.

  • depth (int) – Depth of the circuit. The total depth of the circuit is 2*depth.

Returns

Program object.

Return type

qat.lang.Program

Note

This method is available as an application in Qaptiva Access.