cre

cre(mode)

Constructs a creation action on the bosonic mode at mode.

Parameters:

mode (int) – the bosonic mode on which to act.

Returns:

A creation BosonAction on mode.

Return type:

tuple[bool, int]