![]() |
Shifts the indices of a decoder by a constant.
openfermion.ops.shift_decoder(
decoder, shift_constant
)
Args | |
---|---|
decoder (iterable): list of BinaryPolynomial; the decoder shift_constant (int): the qubit index that corresponds to the offset. |
Returns (list): list of BinaryPolynomial shifted decoder