Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jofrevalles committed Nov 19, 2024
1 parent 47765da commit 2441579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/TenetQuacExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using Tenet
using Quac: Gate, Circuit, lanes, arraytype, Swap

function Tenet.Quantum(gate::Gate)
return Tenet.Quantum(arraytype(gate)(gate), [Site.(lanes(gate))..., Site.(lanes(gate); dual=true)...])
return Tenet.Quantum(arraytype(gate)(gate), Site[Site.(lanes(gate))..., Site.(lanes(gate); dual=true)...])
end

Tenet.evolve!(qtn::Ansatz, gate::Gate; kwargs...) = evolve!(qtn, Quantum(gate); kwargs...)
Expand Down

0 comments on commit 2441579

Please sign in to comment.