iqm.benchmarks.entanglement.ghz.append_rms

Contents

iqm.benchmarks.entanglement.ghz.append_rms#

iqm.benchmarks.entanglement.ghz.append_rms(circuit: IQMCircuit, num_rms: int, backend: IQMBackendBase) List[IQMCircuit]#

Appends 1Q Clifford gates sampled uniformly at random to all qubits in the given circuit. :param circuit: :type circuit: QuantumCircuit :param num_rms: :type num_rms: int :param backend: whether Cliffords are decomposed for the given backend :type backend: Optional[IQMBackendBase]

Returns:

List[QuantumCircuit] of the original circuit with 1Q Clifford gates appended to it

Parameters:
  • circuit (IQMCircuit) –

  • num_rms (int) –

  • backend (IQMBackendBase) –

Return type:

List[IQMCircuit]