Tune register count for qubit algos