Photonic Quantum Computing For Polymer Classification