Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.

Sum does not work for SubArray #21

Closed
Roger-luo opened this issue Apr 24, 2019 · 0 comments · Fixed by QuantumBFS/YaoArrayRegister.jl#10
Closed

Sum does not work for SubArray #21

Roger-luo opened this issue Apr 24, 2019 · 0 comments · Fixed by QuantumBFS/YaoArrayRegister.jl#10
Assignees
Labels
bug Something isn't working

Comments

@Roger-luo
Copy link
Member

MWE:

r = ArrayReg(view(rand(ComplexF64, 16, 2), :, 1))
g = put(4, 1=>X) + put(4, 2=>X)
r |> g

This cause the Lancoz process in time evolution block fails.

@Roger-luo Roger-luo added the bug Something isn't working label Apr 24, 2019
@Roger-luo Roger-luo self-assigned this Apr 24, 2019
Roger-luo added a commit to QuantumBFS/YaoArrayRegister.jl that referenced this issue Apr 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant