cirq.block_diag

Concatenates blocks into a block diagonal matrix.

*blocks Square matrices to place along the diagonal of the result.

A block diagonal matrix with the given blocks along its diagonal.

ValueError A block isn't square.