Matt Fishman
Matt Fishman
Fix bug when making an `adjacency_matrix` from a `SimpleGraph` with self-loops in Julia 1.7 As described in #1594, Julia 1.7 adds a stricter check on the `SparseMatrixCSC` constructor for consistency...
**Description of bug** `adjacency_matrix` fails for `SimpleGraph` with self-loops in Julia 1.7. **How to reproduce** ```julia julia> versioninfo() Julia Version 1.7.0-rc1 Commit 9eade6195e (2021-09-12 06:45 UTC) Platform Info: OS: Linux...
Thanks for your work on so many great packages! We have a pretty simple setup for BenchmarkCI: https://github.com/ITensor/ITensors.jl/tree/v0.1.41/benchmark https://github.com/ITensor/ITensors.jl/blob/v0.1.41/.github/workflows/benchmark.yml which generally runs fine. However, when we update the compatibility of...
We've come across a strange bug involving control flow: ```julia julia> using FiniteDifferences julia> using Zygote julia> function f(x) y = [[x]', [x]] r = 0.0 o = 1.0 for...
Now this example runs locally for me when I `include` it. However, I still get the error: ```julia julia> weave(filename, out_path = :pwd) ┌ Info: Weaving chunk 1 from line...
It looks like an old undefined `Array` constructor is used in one of the examples here: https://github.com/JunoLab/Weave.jl/blob/381de22c7d4076fc210147f552c6e4132f6c805c/examples/FIR_design.jl#L39 Probably should be `Array{ComplexF32}(undef, n)`.
I noticed the following behavior: ```julia julia> format_text("2 |> x -> 2x"; pipe_to_function_call=true) "x -> 2x(2)" julia> using Pkg; Pkg.status("JuliaFormatter") Status `~/.julia/environments/v1.7/Project.toml` [98e50ef6] JuliaFormatter v1.0.5 ``` This changes the meaning...
Define `QDense * Dense` contraction directly (right now it converts the storage to Dense).
Installing ITensor with g++ and Accelerate on macos fails. This was pointed out by Daniel, and I just reproduced it. Normally, g++ is just an alias clang++, but if I...
Introduce the following functions: - [ ] `apply(MPO, MPS)` which returns an unprimed MPS. - [ ] `contract(MPO, MPS)` which returns a primed MPS (the same as the current `applyMPO(MPO,...