Quantum-enhanced barcode decoding and pattern recognition