Module: cirq.linalg.combinators

Utility methods for combining matrices.

Functions

block_diag(...): Concatenates blocks into a block diagonal matrix.

dot(...): Computes the dot/matrix product of a sequence of values.

kron(...): Computes the kronecker product of a sequence of values.

kron_with_controls(...): Computes the kronecker product of a sequence of values and control tags.

CONTROL_TAG A special indicator value for cirq.kron_with_controls.

This value is a stand-in for "control operations on the other qubits based
on the value of this qubit", which otherwise doesn't have a proper matrix.