Jinguo Liu

Results 100 issues of Jinguo Liu

Backpropagate over `mat` function, the analytical approach.

@MikeInnes Roger told me that you are interested in "quantize" Zygote, and put it into your paper. [Variational quantum eigensolver](https://www.nature.com/articles/ncomms5213?origin=ppub) is one of the killer applications on quantum computers. The...

## Error message ``` ERROR: LoadError: InitError: could not load library "/Users/liujinguo/.julia/artifacts/6095fcd268ea712c0f786f5ff1a45bf0eb7b005e/lib/libavdevice.58.13.100.dylib" dlopen(/Users/liujinguo/.julia/artifacts/6095fcd268ea712c0f786f5ff1a45bf0eb7b005e/lib/libavdevice.58.13.100.dylib, 0x0001): Library not loaded: @rpath/libssl.3.dylib Referenced from: /Users/liujinguo/.julia/artifacts/6095fcd268ea712c0f786f5ff1a45bf0eb7b005e/lib/libavdevice.58.13.100.dylib Reason: tried: '/Users/liujinguo/.julia/artifacts/6095fcd268ea712c0f786f5ff1a45bf0eb7b005e/lib/./libssl.3.dylib' (no such file), '/Users/liujinguo/.julia/artifacts/6095fcd268ea712c0f786f5ff1a45bf0eb7b005e/lib/./libssl.3.dylib' (no such...

I downloaded this package and played around with it for a while, but I feel GLMakie might not be the best choice for the backend. It is slow to first...

9 qubit QCBM circuit with depth 8 ## Batched Performance ```julia console julia> @benchmark zero_state(n, 1000) |> cu |> $(qcbm.circuit) seconds = 2 BenchmarkTools.Trial: memory estimate: 17.13 MiB allocs estimate:...

```julia julia> coo1 = SparseMatrixCOO( [1, 4, 2, 3, 3, 3], [1, 1, 2, 4, 3, 4], [0.1, 0.2, 0.4im, 0.5, 0.3, 0.5im], 4, 4, ) 4×4 SparseMatrixCOO{Complex{Float64},Int64}: 0.1+0.0im 0.0+0.0im...

bug

Change `mb.result = measure(...)` to ```julia res = measure(...) if typeof(res) == typeof(mb) && size(res) == size(mb) mb.result[:] .= res else isdefined(res, :result) && warn("Measure result output stream changed! Giveup...

* In primitive block benchmark, we should use `put` rather than `repeat`? * Do not use `rand` in this benchmark, please specify a deterministic position for benchmark.

We have already got batched register for solving the sampling problem. Also, I find pretty useful to have batched blocks, especially in simulating `kernel` quantum algorithms in > Schuld, Maria,...

enhancement