Matt Fishman

Results 492 comments of Matt Fishman

It looks like in the threaded loop multiple threads are modifying the MPS in-place: https://github.com/GTorlai/PastaQ.jl/blob/54cc060b60a13b132d93578f7bf5516eab23927a/src/circuits/getsamples.jl#L161 I wonder if that is causing issues?

Wow very basic mistake in the `rrule`, thanks for catching it!

@danielalcalde could you add the code from your first comment as a test?

We could only enable the backtrace in debug mode, though I think Miles' suggestion of just showing the backtrace some number of times may be best. I've found it is...

In principle it shouldn't depend on any tag or prime conventions, it should just require that for `inner(A, x, B, y)`: 1. `A` and `x` share site indices. 2. `B`...

Yes, that is what I was going to suggest. You can just make an MPO from a set of ITensors: ```julia n = 10 s = siteinds("Qubit", n) rho =...

Unfortunately we don't have native support for that right now. There are two possible workarounds. You can ITensor's general tensor network visualization packages, and turn the quantum circuit into a...

My understanding was that for an undirected graph `g` you can check if it is a tree if `ne(g) == nv(g) - 1` and it is connected (https://en.wikipedia.org/wiki/Tree_(graph_theory)#Tree). Maybe there...

This would be great to have! I have a use case for that (in my application I am permuting blocks of a block sparse array in order to merge them...