Constructive quantum scaling of unitary matrices