Added num_quantum (number of quantum)