This app represents how quantum error correction works for single flip error. You can have some understanding for quantum error correction.