From 525971572adcd0e44e26d6f9b98f07fb9410f0d6 Mon Sep 17 00:00:00 2001 From: Noureldin Date: Fri, 8 Nov 2024 10:08:25 -0800 Subject: [PATCH] Update cirq-core/cirq/experiments/two_qubit_xeb.py --- cirq-core/cirq/experiments/two_qubit_xeb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cirq-core/cirq/experiments/two_qubit_xeb.py b/cirq-core/cirq/experiments/two_qubit_xeb.py index 99a9f6591fe..b9e33d99dbd 100644 --- a/cirq-core/cirq/experiments/two_qubit_xeb.py +++ b/cirq-core/cirq/experiments/two_qubit_xeb.py @@ -53,7 +53,7 @@ def _manhattan_distance(qubit1: 'cirq.GridQubit', qubit2: 'cirq.GridQubit') -> i return abs(qubit1.row - qubit2.row) + abs(qubit1.col - qubit2.col) -def _qubits_and_pairs( +def qubits_and_pairs( sampler: 'cirq.Sampler', qubits: Optional[Sequence['cirq.GridQubit']] = None, pairs: Optional[Sequence[tuple['cirq.GridQubit', 'cirq.GridQubit']]] = None,