next up previous
Next: An Example of Up: A Search Algorithm Previous: Phases for Nogoods

Summary

The search algorithm starts by evenly dividing amplitude among the goods at a low level K of the lattice. A convenient choice for binary CSPs is to start at level tex2html_wrap2886 , where the number of sets is proportional to tex2html_wrap2887 . Then for each level from K to tex2html_wrap2888 , we adjust the phases of the states depending on whether they are good or nogood and map to the next level. Thus if tex2html_wrap2889 represents the amplitude of the set tex2html_wrap_inline2518 at level j, we have

  equation792

where tex2html_wrap2890 is the phase assigned to the set tex2html_wrap_inline2518 after testing whether it is nogood, and the final inner sum is over all sets tex2html_wrap_inline2518 that have k items in common with r. That is, tex2html_wrap2891 when tex2html_wrap_inline2518 is a good set. For nogoods, tex2html_wrap2892 when using the phase inversion method, and tex2html_wrap2893 with tex2html_wrap_inline2926 uniformly selected from tex2html_wrap2894 when using the random phase method. Finally we measure the state, obtaining a complete set. This set will be a solution with probability

  equation816

with the sum over solution sets, depending on the particular problem and method for selecting the phases.

What computational resources are required for this algorithm? The storage requirements are quite modest: N bits can produce a superposition of tex2html_wrap2895 states, enough to represent all the possible sets in the lattice structure. Since each trial of this algorithm gives a solution only with probability tex2html_wrap2896 , on average it will need to be repeated tex2html_wrap2897 times to find a solution. The cost of each trial consists of the time required to construct the initial superposition and then evaluate the mapping on each step from the level K to the solution level L, a total of tex2html_wrap2898 mappings. Because the initial state consists of sets of size K, there are only a polynomial number of them (i.e., tex2html_wrap2899 ) and hence the cost to construct the initial superposition will be relatively modest. The mapping from one level to the next will need to be produced by a series of more elementary operations that can be directly implemented in physical devices. Determining the required number of such operations remains an open question, though the particularly simple structure of the matrices should not require involved computations and should also be able to exploit special purpose hardware. At any rate, this mapping is independent of the structure of the problem and its cost does not affect the relative costs of different problem structures. Finally, determining the phases to use for the nogood sets involves testing the sets against the constraints, a relatively rapid operation for NP search problems. Thus to examine how the cost of this search algorithm depends on problem structure, the key quantity is the behavior of tex2html_wrap2896 .


next up previous
Next: An Example of Up: A Search Algorithm Previous: Phases for Nogoods

Tad Hogg
Wed Mar 20 16:29:17 PST 1996