openfermion.transforms.linearize_decoder

Outputs linear decoding function from input matrix

matrix (np.ndarray or list): list of lists or 2D numpy array to derive the decoding function from

Returns (list): list of BinaryPolynomial