cirq.interop.quirk.cells.CellMaker

Turns Quirk identifiers into Cirq operations.

identifier A string that identifies the cell type, such as "X" or "QFT3".
size The height of the operation. The number of qubits it covers.
maker A function that takes a cirq.interop.quirk.cells.CellMakerArgs and returns either a cirq.Operation or a cirq.interop.quirk.cells.Cell. Returning a cell is more flexible, because cells can modify other cells in the same column before producing operations, whereas returning an operation is simple.