Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Commit

Permalink
Fix Qrochet.Dense constructor call on Quac.Gate
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Mar 1, 2024
1 parent 4cce0a2 commit 812f8b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/QrochetQuacExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ using Tenet
using Quac: Gate, Circuit, lanes, arraytype, Swap

function Qrochet.Dense(gate::Gate)
Qrochet.Dense(arraytype(gate)(gate), [Site.(lanes(gate))..., Site.(lanes(gate); dual = true)])
Qrochet.Dense(arraytype(gate)(gate); sitemap = [Site.(lanes(gate))..., Site.(lanes(gate); dual = true)])
end

function Qrochet.Quantum(circuit::Circuit)
Expand Down

0 comments on commit 812f8b4

Please sign in to comment.