quantize_commsim function

Quantize-based commsim (non-sequential)