Johnnie Gray
Johnnie Gray
I'm not sure whether this should simply error with a better message, or add the singular values as a new bond weight tensor into the network. Were you trying to...
Hi @thibxlv, thanks for the issue. I think the method you're probably looking for is [`permute_arrays`](https://quimb.readthedocs.io/en/latest/autoapi/quimb/tensor/index.html#quimb.tensor.MatrixProductState.permute_arrays). Which enforces a particular internal layout convention, useful for extracting the arrays from quimb...
Yes I tried in some fresh environments with a few different versions of python (3.11 - 3.13) and pytensor (2.20 - 2.31) and the error does seem to stay the...
Thanks for the tips. If I add `cxxflags = -Wno-c++11-narrowing`, and also make sure that `clang++` is the system version, not from conda, then it indeed compiles. This second requirement...
System `clang++` ``` Apple clang version 17.0.0 (clang-1700.0.13.5) Target: arm64-apple-darwin24.5.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin ``` Conda `clang++` ``` clang version 19.1.7 Target: arm64-apple-darwin24.5.0 Thread model: posix InstalledDir: /Users/johnnie/miniforge3/envs/pytensor/bin ```...
Thanks for the suggestion, I'll have a think about it! The likely reality at least in terms of writing a blogpost is that I won't have time in the near...
Seems to be a genuine bug (or just unsupported case) in the equation parsing of `c_einsum`, triggering this here - https://github.com/numpy/numpy/blob/fb0578d3973e926eee2e68ce9fd9996459b8534b/numpy/_core/src/multiarray/einsum.cpp#L231-L238 - unnecessarily, since the intent of the equation is...
> ``` > In [17]: np.einsum("i...,i...->i", x, x[0], optimize=True) > Out[17]: array([42, 42, 42]) > ``` Yes this I agree is not well defined and should probably error, in my...
Hi @lslattery11, sorry for the delayed response! Yes this is very possible, though one might have to use slightly lower level methods - its not encapsulated in a particular class...
Hi @TianHao-Yang-tim, yes a quirk of periodic DMRG is that it works less well for small system sizes (since the loop is too short). Can you see if the problem...