Adam Lewis

Results 72 comments of Adam Lewis

Tasks will be listed here: - [ ] Update splash page documentation to include a tn.Tensor demonstration. - [ ] Add a DMRG tutorial. - [ ] ncon tutorial -...

@wkostuch how's this sound? I could help you through it if you want a good way to get started!

Great! The first step would be to add the function to the abstract backend. To do this, first fork TensorNetwork, track the google repo as a remote, and start a...

Yes that's right, just the empty function at first. In general we try to keep pull requests to 200 lines or shorter, excluding test code, although sometimes this is not...

The next step would be to add the same function, and test(s) of it, to the numpy backend, using the existing functions in numpy_backend.py and the test file as an...

Yeah, so this time you'd want to actually add the function. I'd recommend you make each backend a separate PR.

Alright, maybe you could do the Jax version? @wkostuch

Hard to say from this error message except that the call to torch.tensordot is for some reason failing. Did you change anything about either pytorch_backend.tensordot, the tensordot test, or the...

This would require significant physics knowledge, but if you'd like to add tutorials on anything described above please go ahead. What did you have in mind?

As Martin says it's not possible to diagnose a bug without an example that produces it. The SVD with the NumPy backend just calls the NumPy SVD code. This should...