You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
optimize clifford benchmark circuit creation for a total 94.5% speedup (#6401)
This is a followup to #6392 and reduces circuit creation time (for 1000 cliffords and 50 qubits) to 0.213s from the original 3.886s (94.5% speedup) and the 2.148s (90% speedup) following #6392
```
In [3]: import cirq.experiments.qubit_characterizations as ceq
...: import cirq
...: import time
...: import numpy as np
...:
...: num_cliffords = 1000
...: qubits = cirq.LineQubit.range(50)
...:
...: cliffords = ceq._single_qubit_cliffords()
...: c1 = cliffords.c1_in_xy
...: t1 = time.time()
...: seq = ceq._create_parallel_rb_circuit(qubits, num_cliffords, c1)
...: t2 = time.time()
...: print(f'{t2-t1} s')
0.2055680751800537 s
```
0 commit comments