We now extend the definitions to tests that can produce one of r different
values rather than just 2 values.
In this case, the learning problem can be expressed by learning matrix M:A×X→{ωj∣j∈{0,1,…,r−1}} where
ω=e2πi/r is a primitive r-th root of u…