CCR algebra

The CCR layer implements symbolic bosonic operator algebra on top of the core term objects. Instead of forming matrix representations, it rewrites operator words into normally ordered expansions using commutation relations.

At this layer, Symop works with three closely related symbolic objects:

The main ideas are:

  • operator words are expanded symbolically using CCR normal ordering

  • kets are finite sums of normally ordered monomials

  • density operators are finite sums of outer products \(|L\rangle\langle R|\)

  • actions, products, traces, and inner products are all computed symbolically