The invention discloses a method, a
system and a terminal for calculating the word number of a low
Hamming weight code of a polarization code, and the method comprises the steps: obtaining a serial offset path metric and a serial offset decoding of a Fano decoder, carrying out the modification
processing of the serial offset path metric, and obtaining a target serial offset path metric, modifying the serial offset decoding to obtain a target serial offset decoding; performing node selection according to the target serial cancellation decoding to obtain a target node, and selecting a corresponding target path according to the target serial cancellation path metric; if the target path is a low-weight path, counting the code
weight value of the target path to obtain a counting result; and performing path
backtracking according to the counting result to obtain a
backtracking result, obtaining a corresponding target counting result according to the
backtracking result, and obtaining a low
Hamming weight code word number according to the target counting result. According to the method, the low
Hamming weight code word number is calculated from the perspective of a decoder, and the calculation complexity and the space complexity are lower.