Skip to content

qttools.kernels.linalg.kron#

source module qttools.kernels.linalg.kron

Functions

  • kron_matmul Performs Kronecker matrix multiplication.

source kron_matmul(m: NDArray, a: NDArray, vect: NDArray)NDArray

Performs Kronecker matrix multiplication.

Computes the product of a Kronecker product of matrices with a vector: (m ⊗ a) @ vect.

Parameters

  • a : NDArray First matrix in the Kronecker product.

  • m : NDArray Second matrix in the Kronecker product.

  • vect : NDArray Vector to be multiplied.

Returns

  • result : NDArray Resulting vector from the multiplication.