Open rballester opened 3 months ago
Hello @rballester! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:
quimb/tensor/decomp.py
:Line 191:80: E501 line too long (143 > 79 characters)
I have adapted the PR; please check.
This PR adds an "identity" tensor split operation that does nothing, i.e. sets the identity matrix as either the left or the right split. One use is creating an MPS network from a dense tensor in very little time and zero error.
(forgive me if there's a way to do this already -- I didn't find it)