Function qcgpu::get_width
[−]
[src]
pub fn get_width(n: i32) -> i32
Get the number of qubits needed to represent a number.
Equivilent to ceil(log2(n))s