{'fraction_non_alphanumeric': 0.02190923317683881, 'fraction_numerical': 0.0, 'mean_word_length': 4.871559633027523, '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}}
Quantum error correction of photon loss with quantum encoding

Long-distance quantum communication with high fidelity is the main obstacle to creating a quantum network. A scheme to recover the loss of one photon with a three-to-eight qubit encoding is presented. The qubit loss is first detected using a quantum nondemolition measurement and is then transformed into a standard qubit error by inserting a new photon. The state of qubits is reconstructed via a sequence of one projective measurement, two single-qubit gates, and seven controlled-NOT operations. No ancillary qubits are required. Finally, the cost of resources is analyzed.