Matt Fishman
Matt Fishman
Try: ```julia using ITensors using ITensorGPU using PastaQ using CUDA: allowscalar allowscalar(false) using ITensors.NDTensors: tensor function convert_eltype(ElType::Type, T::ITensor) if eltype(T) == ElType return T end return itensor(ElType.(tensor(T))) end device =...
Ah, I didn't appreciate that you were trying to evolve an operator. Probably you want to use `productoperator(qubits(N))` which makes an identity MPO.
Yeah, I think I would need more details of the actual computation you are trying to do in order to help more. You may need to dig into the `runcircuit`...
@JoeGibbs88 please take a look at #282. I added an interface where you can specify `device=cu` in `runcircuit` to run on GPU. Additionally you can specify `eltype=Float32` or `eltype=ComplexF32` since...
@JoeGibbs88 #282 is merged and will be available soon in PastaQ 0.0.22, please try updating to the latest version of PastaQ and try out the new `device` and `eltype` keyword...
Hi Joe, When I run the code: ```julia using ITensorGPU using PastaQ function U_gates(p) gates = Tuple[] gates = vcat(gates, ("Rxx", (1, 2), (ϕ = p,))) return gates end function...
Very strange. Could you try using Julia 1.7.2 as a sanity check? Based on the error message, it looks like a certain case of tensor contraction is going through the...
Should it just check for `0` before the logarithm is taken and return `0` in that case?
Thanks for the report, this is actually broken even in the most minimal example of `runcircuit`: ```julia runcircuit([("X", 1)]) ``` This was broken by a big internal change we made...
Ok it should be fixed in PastaQ 0.0.24, please let me know if it works and I'll close this issue.