Generates Google Random Circuits v2 as in github.com/sboixo/GRCS cz_v2.
cirq.generate_boixo_2018_supremacy_circuits_v2(
qubits: Iterable[cirq.GridQubit
],
cz_depth: int,
seed: int
) -> cirq.Circuit
Used in the notebooks
See also https://arxiv.org/abs/1807.10749
Args |
qubits
|
qubit grid in which to generate the circuit.
|
cz_depth
|
number of layers with CZ gates.
|
seed
|
seed for the random instance.
|
Returns |
A circuit corresponding to instance
inst_{n_rows}x{ncols}{czdepth+1}{seed}
|
The mapping of qubits is cirq.GridQubit(j,k) -> qj*n_cols+k