Module: cirq.experiments.random_quantum_circuit_generation

Code for generating random quantum circuits.

Classes

class GridInteractionLayer: A layer of aligned or staggered two-qubit interactions on a grid.

Functions

random_rotations_between_grid_interaction_layers_circuit(...): Generate a random quantum circuit.

GRID_ALIGNED_PATTERN A pattern of two-qubit gates that is easy to simulate.

This pattern of gates was used in the paper
https://www.nature.com/articles/s41586-019-1666-5
to evaluate the performance of a quantum computer.

GRID_STAGGERED_PATTERN A pattern of two-qubit gates that is hard to simulate.

This pattern of gates was used in the paper
https://www.nature.com/articles/s41586-019-1666-5
to demonstrate quantum supremacy.

TYPE_CHECKING False