Industrial anomaly detection via prompt learning with perturbation-based selective state memory units | Synapse