Suppose first that is bipartite. As one traverses any cycle in a graph, its vertices alternate between the two vertex classes. Returning to the initial class therefore requires an even number of edges, so contains no odd cycle.
Conversely, suppose that has no odd cycle. Work separately in each connected component of a graph, choose a root , and put
where is the graph distance. If adjacent vertices were in the same class, then and parity would force . Choose a breadth-first spanning tree. The two tree paths from to and diverge at some last common vertex; their remaining segments have equal length, and adjoining the edge gives an odd cycle. This contradiction shows that every edge joins to , proving the odd-cycle characterization of bipartite graphs.
A graph is bipartite when its set of vertices can be partitioned as
so that every edge has one endpoint in and the other in . Equivalently, has a proper graph colouring with at most two colours.
True. Regard each ordinal as its von Neumann representative, the set of all smaller ordinals. Transfinite induction gives
Thus the set itself has rank .
True. For each , the singleton set is a finite subset of , so the hypothesis gives
Taking the supremum over all yields
False. Take , the power set of the first infinite ordinal . Every subset of has rank at most , and an infinite cofinal subset has rank exactly , so
which is a countable ordinal. But Cantor theorem shows that is an uncountable set.
True. If is a nonempty finite set, then
This maximum is a successor ordinal, whereas the empty set has rank . Hence a set of nonzero limit ordinal rank cannot be finite and must be an infinite set.
Compose the two constructions in part (d) to obtain
using two queries to . For
over , the finite difference is
This is affine with slope . Apply the one-query affine procedure from part (c) to the implemented oracle . It returns with certainty, after which the fixed classical computation
recovers the quadratic coefficient. Since one use of consists of one use each of and , the algorithm makes exactly two calls to the original oracle .
Let on the input register and let on the target register. Both are fixed unitary operators independent of . Conjugating the query by the input shift gives
because the intermediate query is made at . Conjugating by target negation gives
since . Each construction uses exactly once.
One classical query at any chosen returns only . Every possible slope is compatible with that answer by choosing , so no one-query classical algorithm can determine with certainty.
For the quantum algorithm, let and prepare
Part (b) shows that the single query applies quantum phase kickback:
The unknown intercept contributes only a global phase. Applying to the first register produces , whose computational-basis measurement determines with certainty after one query.
Changing the summation variable from to gives
Thus the quantum Fourier transform diagonalizes the cyclic shift.
For ,
Consequently the product states
form an eigenbasis, with corresponding eigenvalues
Let . The quantum Fourier transform modulo is the unitary operator
Its images form the Fourier basis.
No. The property
is an index set: it depends only on the domain of the partial function computed, not on the syntax of its program. It is nontrivial. For example, an index whose domain is a singleton belongs to , whereas an index whose domain has two elements does not. The Rice theorem therefore shows that is not a computable set, so no algorithm can decide the requested property for arbitrary .
Invoking the Church–Turing thesis, this also rules out any effective procedure in the informal sense, because such a procedure would be represented by a computable function.
For each , let be an effectively obtained index of the partial function
The existence of the total computable index transformation follows from the S-m-n theorem. By the recursion theorem, some satisfies . Therefore its domain is
and hence
Apply the S-m-n theorem to . It gives a total computable function such that
The recursion theorem supplies an index satisfying . Consequently

There are unlisted articles, also show them or only show them.