converted_to_create_destroy
converted_to_create_destroy(Operator input) -> Operator
Converts a sum or product of named fermion operators to their equivalent representation in terms of creation and annihilation operators.
Parameters
- input: The input Operator to be simplified.
Example
var my_op = Number(3)
var out = converted_to_create_destroy(my_op) // Create(3)*Destroy(3)