1. An apparatus comprising: an interface to a nonvolatile memory; and a circuit configured to (i) read a plurality of bits in a read channel of said nonvolatile memory, wherein said bits are encoded with a polar code, (ii) generate a plurality of probabilities based on a plurality of log likelihood ratio values of said read channel and (iii) decode said bits based on said probabilities.