qat.lang.algorithms.amplification.uniform_distribution

qat.lang.algorithms.amplification.uniform_distribution(nbits)

Prepares a uniform distribution from state \(|0\rangle\)

Parameters

nbits (int) – the number of qbits

Returns

a routine

Return type

QRoutine