Statistics for Frameworks for Quantum Algorithms