cre(mode)
Constructs a creation action on the bosonic mode at mode.
mode
Parameters
mode (int) – the bosonic mode on which to act.
Returns
A creation BosonAction on mode.
BosonAction
Return type
tuple[bool, int]