Single-run classical computation guaranteed by quantum mechanics