iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.compute_inverse_clifford

iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.compute_inverse_clifford#

iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.compute_inverse_clifford(qc_inv: IQMCircuit, clifford_dictionary: Dict) IQMCircuit | None#

Function to compute the inverse Clifford of a circuit :param qc_inv: The Clifford circuit to be inverted :type qc_inv: QuantumCircuit :param clifford_dictionary: A dictionary of Clifford gates labeled by (de)stabilizers :type clifford_dictionary: Dict

Returns:

A Clifford circuit

Return type:

Optional[QuantumCircuit]

Parameters:
  • qc_inv (IQMCircuit) –

  • clifford_dictionary (Dict) –