Skip to content

Commit bd6aef4

Browse files
committed
TODO
1 parent c79d473 commit bd6aef4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/expect.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ function expect(
8282
end
8383
op_string_f = v -> v obs_vs ? op_strings[findfirst(x -> x == v, obs_vs)] : "I"
8484

85+
#TODO: If there are a lot of tensors here, (more than 100 say), we need to think about defining a custom sequence as optimal may be too slow
8586
incoming_ms = incoming_messages(cache, steiner_vs)
8687
ψIψ_tensors = ITensor[norm_factors(network(cache), steiner_vs); incoming_ms]
8788
denom_seq = contraction_sequence(ψIψ_tensors; alg = "optimal")
@@ -195,4 +196,4 @@ function boundarymps_partitioning(observable::Union{Tuple, Vector{<:Tuple}})
195196
end
196197
end
197198
return partitioning
198-
end
199+
end

0 commit comments

Comments
 (0)