QR ∈ NP

Inclusion · folklore

Statement

The quadratic residuosity language is in NP: a square root of is a witness, checked by and — folklore.

Notes

  • The complement is in as well, with a divisor of of Jacobi symbol as witness: QR ∈ coNP — folklore.