bsc-quantic/Quac.jl

Fix `moments` for non-contiguous gates

Closed this issue · 0 comments

Example

using Quac

circ = vcat(Quac.Algorithms.QFT(4), Quac.Algorithms.QFT(4))
draw(circ)

Result

This is wrong: top 4 qubits and bottom 4 qubits are independent and their quantum gates should locate in parallel, starting at the same point. However, they concat in the temporal dimension.
plot_8