Fermionic OpSum
to TTN
constructor
#237
Annotations
2 errors and 10 warnings
format
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
|
format
Process completed with exit code 1.
|
format:
src/models.jl#L18
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
src/models.jl:18:-function tight_binding(g::AbstractGraph;t=1.0, tp=0.0, h::Union{<:Real,Vector{<:Real}}=0)
src/models.jl:18:+function tight_binding(g::AbstractGraph; t=1.0, tp=0.0, h::Union{<:Real,Vector{<:Real}}=0)
|
format:
src/models.jl#L47
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
src/models.jl:47:-
src/models.jl:48:-
|
format:
src/treetensornetworks/opsum_to_ttn.jl#L7
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
src/treetensornetworks/opsum_to_ttn.jl:7:-
|
format:
src/treetensornetworks/opsum_to_ttn.jl#L161
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
src/treetensornetworks/opsum_to_ttn.jl:161:- coutmap = get!(outmaps, edge_in => linkdir_ref == ITensors.In ? -not_incoming_qn : not_incoming_qn , Dict{Vector{Op},Int}()) ###the sign in front of not_incoming isn't really of effect later on, except for in the next loop?
src/treetensornetworks/opsum_to_ttn.jl:162:- cinmap = get!(inmaps, edge_in => linkdir_ref == ITensors.In ? incoming_qn : -incoming_qn, Dict{Vector{Op},Int}())
src/treetensornetworks/opsum_to_ttn.jl:160:+ coutmap = get!(
src/treetensornetworks/opsum_to_ttn.jl:161:+ outmaps,
src/treetensornetworks/opsum_to_ttn.jl:162:+ edge_in => linkdir_ref == ITensors.In ? -not_incoming_qn : not_incoming_qn,
src/treetensornetworks/opsum_to_ttn.jl:163:+ Dict{Vector{Op},Int}(),
src/treetensornetworks/opsum_to_ttn.jl:164:+ ) ###the sign in front of not_incoming isn't really of effect later on, except for in the next loop?
src/treetensornetworks/opsum_to_ttn.jl:165:+ cinmap = get!(
src/treetensornetworks/opsum_to_ttn.jl:166:+ inmaps,
src/treetensornetworks/opsum_to_ttn.jl:167:+ edge_in => linkdir_ref == ITensors.In ? incoming_qn : -incoming_qn,
src/treetensornetworks/opsum_to_ttn.jl:168:+ Dict{Vector{Op},Int}(),
src/treetensornetworks/opsum_to_ttn.jl:169:+ )
|
format:
src/treetensornetworks/opsum_to_ttn.jl#L176
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
src/treetensornetworks/opsum_to_ttn.jl:176:- outmaps, edges[dout] => linkdir_ref == ITensors.In ? -outgoing_qns[edges[dout]] : outgoing_qns[edges[dout]], Dict{Vector{Op},Int}() ### I hope this works?
src/treetensornetworks/opsum_to_ttn.jl:183:+ outmaps,
src/treetensornetworks/opsum_to_ttn.jl:184:+ edges[dout] => if linkdir_ref == ITensors.In
src/treetensornetworks/opsum_to_ttn.jl:185:+ -outgoing_qns[edges[dout]] ### I hope this works?
src/treetensornetworks/opsum_to_ttn.jl:186:+ else
src/treetensornetworks/opsum_to_ttn.jl:187:+ outgoing_qns[edges[dout]] ### I hope this works?
src/treetensornetworks/opsum_to_ttn.jl:188:+ end,
src/treetensornetworks/opsum_to_ttn.jl:189:+ Dict{Vector{Op},Int}(), ### I hope this works?
|
format:
src/treetensornetworks/opsum_to_ttn.jl#L179
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
src/treetensornetworks/opsum_to_ttn.jl:179:- T_qns[dout] = linkdir_ref == ITensors.In ? -outgoing_qns[edges[dout]] : outgoing_qns[edges[dout]] # outgoing inds will be in ref direction, so reverse sign if that's in
src/treetensornetworks/opsum_to_ttn.jl:192:+ T_qns[dout] = if linkdir_ref == ITensors.In
src/treetensornetworks/opsum_to_ttn.jl:193:+ -outgoing_qns[edges[dout]] # outgoing inds will be in ref direction, so reverse sign if that's in
src/treetensornetworks/opsum_to_ttn.jl:194:+ else
src/treetensornetworks/opsum_to_ttn.jl:195:+ outgoing_qns[edges[dout]] # outgoing inds will be in ref direction, so reverse sign if that's in
src/treetensornetworks/opsum_to_ttn.jl:196:+ end # outgoing inds will be in ref direction, so reverse sign if that's in
|
format:
src/treetensornetworks/opsum_to_ttn.jl#L182
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
src/treetensornetworks/opsum_to_ttn.jl:182:- cflux=QN()
src/treetensornetworks/opsum_to_ttn.jl:183:- cflux+=site_qn
src/treetensornetworks/opsum_to_ttn.jl:199:+ cflux = QN()
src/treetensornetworks/opsum_to_ttn.jl:200:+ cflux += site_qn
|
format:
src/treetensornetworks/opsum_to_ttn.jl#L185
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
src/treetensornetworks/opsum_to_ttn.jl:185:- cflux+=T_qns[dim_in]
src/treetensornetworks/opsum_to_ttn.jl:202:+ cflux += T_qns[dim_in]
|
format:
src/treetensornetworks/opsum_to_ttn.jl#L188
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
src/treetensornetworks/opsum_to_ttn.jl:188:- cflux-=T_qns[dout]
src/treetensornetworks/opsum_to_ttn.jl:205:+ cflux -= T_qns[dout]
|
|