Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine 2q parallel XEB into one methods to simplify the XEB workflow #6443

Merged
merged 14 commits into from
Feb 8, 2024
Prev Previous commit
Next Next commit
nit
  • Loading branch information
NoureldinYosri committed Feb 5, 2024
commit d06cc936c3ebed568b42f3651cdd572357d245cc
2 changes: 1 addition & 1 deletion cirq-core/cirq/experiments/two_qubit_xeb.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def depolarization_error(self, q0: 'cirq.GridQubit', q1: 'cirq.GridQubit'):
return 1 - p

def pauli_error(self, q0: 'cirq.GridQubit', q1: 'cirq.GridQubit'):
return self.depolarization_error(q0, q1) * (1 - 1 / 8)
return self.depolarization_error(q0, q1) * (1 - 1 / 16)

def average_error(self, q0: 'cirq.GridQubit', q1: 'cirq.GridQubit'):
return self.depolarization_error() * (1 - 1 / 4)
Expand Down
Loading