Quantum Computing, Quantum Computer, Simulator, From Scratch.
roll a dice and see under which segment the dice falls, that would be our result of measurement. The bigger the segment, the more likely the dice would fall in that segment. Why 100? Just to make the segments lengthier and make it easy for the dice to fall there. All right let us implement this