matrix#
The category of matrices with the direct sum as monoidal product.
Summary#
A matrix is an |
|
A matrix backend. |
|
NumPy backend. |
|
JAX backend. |
|
PyTorch backend. |
|
TensorFlow backend. |
Functions
Context manager for matrix backend. |
|
Override the default backend. |
|
Get the current backend. |
See also
discopy.tensor.Tensor
is a subclass ofMatrix
with the Kronecker product as tensor.