Quantum error correction codes and `stickiness structure' of submanifolds