triqs.operators.operators.CanonicalOpsT

class triqs.operators.operators.CanonicalOpsT

Bases: object

Second quantization creation/annihilation operator.

A canonical second quantization operator, \(\hat{c}_{\alpha_i}\) or \(\hat{c}_{\alpha_i}^\dagger\), is defined by

  • a single particle state index \(\alpha_i = (\beta^{(i)}_1, \dots, \beta^{(i)}_{k_i})\), where each \(\beta^{(i)}_j\) is an integer, a string, a double or an array of integers, and

  • a boolean flag dagger indicating whether it is a creation (true) or annihilation (false) operator.


Synthesized constructor with the following keyword arguments:

Parameters:
daggerbool, default={false}
indices[int | str | float | [int, len = 3]], default={}

Attributes

dagger

True for creation (\(\hat{c}_{\alpha_i}^{\dagger}\)), false for annihilation (\(\hat{c}_{\alpha_i}\)) operators.

indices

Single particle state index \(\alpha_i\).