2026-07-072026-07-07http://salesiana.dossiersoluciones.com/handle/123456789/93355Quantum parallelism is the main feature of quantum computation. In 1985 D. Deutsch showed that a single quantum computation may be sufficient to state whether a two-valued function of a two-valued variable is constant or not. Though the generalized problem with unconstrained domain and range size admits no deterministic quantum solution, a fully probabilistic quantum algorithm is presented in which quantum parallelism is harnessed to achieve a quicker exploration of the domain with respect to the classical ``sampling'' strategy.17 pages, LaTeX, 5 PostScript figuresQuantum PhysicsA Generalization of Deutsch's Exampletext