Header menu logo Encodings

BosonicEncoderFn Type

A function that encodes a single bosonic ladder operator into qubit Pauli strings.

Parameters: operator (Raise/Lower), mode index j, number of modes M, truncation cutoff d. Returns a PauliRegisterSequence of width M × (qubits per mode).

Type something to start searching.