Header menu logo Encodings

Bosonic Module

Bosonic ladder-operator expressions and normal-ordering utilities.

This module exposes a bosonic specialization of LadderOperatorSumExpr using BosonicAlgebra. It shares the same indexed operator representation as the fermionic path, but uses CCR instead of CAR when constructing normal order.

Types

Type Description

BosonicLadderOperatorSumExpression

A bosonic ladder-operator sum expression.

Functions and values

Function or value Description

constructBosonicIndexOrdered candidate

Full Usage: constructBosonicIndexOrdered candidate

Parameters:
Returns: LadderOperatorSumExpr<BosonicAlgebra> option An index-ordered bosonic expression if construction succeeds.

Constructs a bosonic index-ordered sum expression.

candidate : S<IxOp<uint32, LadderOperatorUnit>>

The candidate sum expression.

Returns: LadderOperatorSumExpr<BosonicAlgebra> option

An index-ordered bosonic expression if construction succeeds.

constructBosonicNormalOrdered candidate

Full Usage: constructBosonicNormalOrdered candidate

Parameters:
Returns: LadderOperatorSumExpr<BosonicAlgebra> option A normal-ordered bosonic expression if construction succeeds.

Constructs a bosonic normal-ordered sum expression.

candidate : S<IxOp<uint32, LadderOperatorUnit>>

The candidate sum expression.

Returns: LadderOperatorSumExpr<BosonicAlgebra> option

A normal-ordered bosonic expression if construction succeeds.

Type something to start searching.