Experimentally realizable quantum comparison of coherent states and its applications | Synapse