Struct LSTOptions

Struct Documentation

struct LSTOptions

Options for Lie Similarity Transformation.

See also

lst

Public Members

SEQUANT_DESIGNATED_INIT_ONLY

makes positional init (LSTOptions{true, false}) ill-formed, so every call site must name what it sets (LSTOptions{.unitary = true}); without it, reordering the fields below — or flipping the meaning of one while keeping its position, as use_connected_form did to use_commutators — silently reinterprets positional callers instead of failing to compile

bool unitary = false

If true, uses unitary generator.

bool use_connected_form = false

If true, uses connected products [A,B] = (AB)_c; otherwise uses explicit commutators [A,B] = AB - BA. The connected-product form is only equivalent if the caller supplies operator connectivity downstream, hence the default is the explicit form.

bool skip_clone = false

If true, will not clone the input expression.