Skip to main content

simplified_create_destroy

simplified_create_destroy(Operator input) -> Operator

Simplifies and reorders a product of creation and annihilation operators by site while preserving site order. Terms are killed if there are too many creation or annihilation operators.

Parameters

  • input: The input Operator to be simplified.

Returns

The potentially simplified operator

Example

var my_prod = Create(3) * Create(3) * Create(1)
var phase = simplified_create_destroy(my_prod) // ()