Skip to content

Commit

Permalink
Set temporarily a more concrete type of lattice in graph to circunv…
Browse files Browse the repository at this point in the history
…ent a Julia bug
  • Loading branch information
Sergio Sánchez Ramírez authored and mofeing committed Oct 29, 2024
1 parent 9e32ffd commit 7c67f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ansatz/Ansatz.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ abstract type AbstractAnsatz <: AbstractQuantum end
"""
struct Ansatz <: AbstractAnsatz
tn::Quantum
lattice::MetaGraph
lattice::MetaGraph{Int,G,Site{1},Nothing} where {G<:Graphs.AbstractGraph{Int}}

function Ansatz(tn, lattice)
if !issetequal(lanes(tn), labels(lattice))
Expand Down

0 comments on commit 7c67f58

Please sign in to comment.