SSE history can now be extracted and manipulated in Aleph allowing for user-implemented estimators.
Helper function, sse_order to determine the order from a given SSE configuration.
Added suite of fermionic operator transformation functions to simplify and manipulate fermionic operators:
fermionic_site_reorder(operator): Reorders creation and annihilation operators by site while tracking phase changes from anticommutation relations.
converted_to_create_destroy(operator): Converts named fermionic operators to their creation/annihilation form. Handles multi-site interactions like density-density (ninj=ci†cicj†cj), hopping (ci†cj+cj†ci), and pair operators (ci†cj†ckcl).
simplified_create_destroy(operator): Simplifies operator products by reordering and removing invalid terms (e.g., cici=0 and ci†ci†=0).
fused_into_number(operator): Fuses creation-annihilation pairs into number operators (ci†ci→ni).
reduced_number_power(operator): Reduces powers of number operators to at most 1 (ni2=ni for fermionic systems).