Quantum subroutine for variance estimation: algorithmic design and applicationsQUANTUM MACHINE INTELLIGENCEIF4.42024-11-141OA