I find there might be a bug in the definition of Yao.EasyBuild.variational_circuit method
At line 115
variational_circuit(nbit::Int, nlayer::Int; kwargs...) = variational_circuit(nbit, nlayer, pair_ring(nbit), kwargs...),
the right side is not a valid method. So, the third comma should be a semicolon. The right definition is as following:
variational_circuit(nbit::Int, nlayer::Int; kwargs...) = variational_circuit(nbit, nlayer, pair_ring(nbit); kwargs...).
Hi, there.
I find there might be a bug in the definition of
Yao.EasyBuild.variational_circuit method
At line 115
variational_circuit(nbit::Int, nlayer::Int; kwargs...) = variational_circuit(nbit, nlayer, pair_ring(nbit), kwargs...)
,the right side is not a valid method. So, the third comma should be a semicolon. The right definition is as following:
variational_circuit(nbit::Int, nlayer::Int; kwargs...) = variational_circuit(nbit, nlayer, pair_ring(nbit); kwargs...)
.