@@ -107,7 +107,9 @@ def square_kagome_density_matrix_horizontal(
107107 ]
108108 ],
109109 }
110- Definitions ._process_def (contraction_left )
110+ Definitions ._process_def (
111+ contraction_left , f"square_kagome_horizontal_left_open_{ left_i [0 ]} "
112+ )
111113
112114 density_left = apply_contraction (
113115 f"square_kagome_horizontal_left_open_{ left_i [0 ]} " ,
@@ -143,7 +145,9 @@ def square_kagome_density_matrix_horizontal(
143145 ]
144146 ],
145147 }
146- Definitions ._process_def (contraction_left )
148+ Definitions ._process_def (
149+ contraction_left , f"square_kagome_horizontal_left_open_{ left_i } "
150+ )
147151
148152 density_left = apply_contraction (
149153 f"square_kagome_horizontal_left_open_{ left_i } " ,
@@ -185,7 +189,9 @@ def square_kagome_density_matrix_horizontal(
185189 ]
186190 ],
187191 }
188- Definitions ._process_def (contraction_right )
192+ Definitions ._process_def (
193+ contraction_right , f"square_kagome_horizontal_right_open_{ right_i [0 ]} "
194+ )
189195
190196 density_right = apply_contraction (
191197 f"square_kagome_horizontal_right_open_{ right_i [0 ]} " ,
@@ -217,7 +223,9 @@ def square_kagome_density_matrix_horizontal(
217223 ]
218224 ],
219225 }
220- Definitions ._process_def (contraction_right )
226+ Definitions ._process_def (
227+ contraction_right , f"square_kagome_horizontal_right_open_{ right_i } "
228+ )
221229
222230 density_right = apply_contraction (
223231 f"square_kagome_horizontal_right_open_{ right_i } " ,
@@ -317,7 +325,9 @@ def square_kagome_density_matrix_vertical(
317325 ]
318326 ],
319327 }
320- Definitions ._process_def (contraction_top )
328+ Definitions ._process_def (
329+ contraction_top , f"square_kagome_horizontal_top_open_{ top_i [0 ]} "
330+ )
321331
322332 density_top = apply_contraction (
323333 f"square_kagome_horizontal_top_open_{ top_i [0 ]} " ,
@@ -353,7 +363,9 @@ def square_kagome_density_matrix_vertical(
353363 ]
354364 ],
355365 }
356- Definitions ._process_def (contraction_top )
366+ Definitions ._process_def (
367+ contraction_top , f"square_kagome_horizontal_top_open_{ top_i } "
368+ )
357369
358370 density_top = apply_contraction (
359371 f"square_kagome_horizontal_top_open_{ top_i } " ,
@@ -395,7 +407,9 @@ def square_kagome_density_matrix_vertical(
395407 ]
396408 ],
397409 }
398- Definitions ._process_def (contraction_bottom )
410+ Definitions ._process_def (
411+ contraction_bottom , f"square_kagome_horizontal_bottom_open_{ bottom_i [0 ]} "
412+ )
399413
400414 density_bottom = apply_contraction (
401415 f"square_kagome_horizontal_bottom_open_{ bottom_i [0 ]} " ,
@@ -427,7 +441,9 @@ def square_kagome_density_matrix_vertical(
427441 ]
428442 ],
429443 }
430- Definitions ._process_def (contraction_bottom )
444+ Definitions ._process_def (
445+ contraction_bottom , f"square_kagome_horizontal_bottom_open_{ bottom_i } "
446+ )
431447
432448 density_bottom = apply_contraction (
433449 f"square_kagome_horizontal_bottom_open_{ bottom_i } " ,
0 commit comments