{'fraction_non_alphanumeric': 0.01476510067114094, 'fraction_numerical': 0.0, 'mean_word_length': 5.065040650406504, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Application of Hamming Code Based Error Correction Algorithm in Quantum Key Distribution System

In the quantum key distribution system, one party needs to share the quantum state to the other through a quantum channel. However, due to external influences, the quantum state may change during transmission, resulting in a certain error in the original key acquired by the receiver. In this paper, an error correction algorithm based on Hamming code is proposed and verified in the quantum key distribution system. The algorithm can adapt to different bit error rate scenarios by variable length coding. Besides, the algorithm can correct the random error as well as burst error in the original key after combining the key interleaving algorithm.