Module: cirq.linalg.operator_spaces

Utilities for manipulating linear operators as elements of vector space.


expand_matrix_in_orthogonal_basis(...): Computes coefficients of expansion of m in basis.

hilbert_schmidt_inner_product(...): Computes Hilbert-Schmidt inner product of two matrices.

kron_bases(...): Creates tensor product of bases.

matrix_from_basis_coefficients(...): Computes linear combination of basis vectors with given coefficients.

pow_pauli_combination(...): Computes non-negative integer power of single-qubit Pauli combination.

PAULI_BASIS The four Pauli matrices (including identity) keyed by character.