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

optimize clifford benchmark circuit creation for a total 94.5% speedup #6401

Merged
merged 14 commits into from
Jan 8, 2024
Prev Previous commit
Next Next commit
remove strict=True option due to incompatibility with python3.9
  • Loading branch information
NoureldinYosri authored Jan 8, 2024
commit 77fc735ec259df2c6928cb22522c83448e28b866
2 changes: 1 addition & 1 deletion cirq-core/cirq/experiments/qubit_characterizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def _create_parallel_rb_circuit(
[ops.SingleQubitCliffordGate.I(qubits[i])]
* (num_moments - len(sequences_to_zip[i]))
)
moments = tuple(zip(*sequences_to_zip, strict=True))
moments = tuple(zip(*sequences_to_zip))
return circuits.Circuit.from_moments(*moments, ops.measure_each(*qubits))


Expand Down
Loading