iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.validate_rb_qubits

iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.validate_rb_qubits#

iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.validate_rb_qubits(qubits_array: List[List[int]], backend_arg: str | IQMBackendBase)#

Validate qubit inputs for a Clifford RB experiment :param qubits_array: the array of qubits :type qubits_array: List[List[int]] :param backend_arg: the IQM backend :type backend_arg: IQMBackendBase

Raises:

ValueError if specified pairs of qubits are not connected

Parameters:
  • qubits_array (List[List[int]]) –

  • backend_arg (str | IQMBackendBase) –