This function returns an array with "n" REAL RANDOM NUMBERS with values between [1-"n"] and NO REPETITION.
These random numbers are generated in real time (Internet connection is needed) from the Australian National University's Quantum Random Numbers Server.
The returned numbers can be "uint8" (0 to 255) or "uint16" (0 to 65,535) type of intergers. For example, in order to get 200 random numbers, "uint8" data type option (quantumRandomGenerator(200,'uint8')) will retrieve the random numbers faster than the "uint16" option (quantumRandomGenerator(200,'uint16')).
The function needs a random time to retrieve the asked array of numbers. As an illustration, approximatly it needs 1 minute to return 4216 true random numbers with no repetiton.
gorka zubia (2020). Quantum random number generator (https://www.mathworks.com/matlabcentral/fileexchange/72834-quantum-random-number-generator), MATLAB Central File Exchange. Retrieved .