paulie.common.pauli_string_factory.get_last#

paulie.common.pauli_string_factory.get_last(n)#

Get a Pauli string with Y at all positions of a given length.

Parameters:

n (int) – Length of Pauli string.

Returns:

Pauli string of given length with Y at every position.

Return type:

PauliString