# Grover's search for an unknown number of solutions using Silq programming

Grover's search for one solution and multiple solutions was fairly straightforward to understand and implement using the Silq programming language. However, there are cases where we are not sure of the number of solutions that we want to search for and we want our Grover's algorithm to search for those **unknown number of solutions** that we have in our mind. The case of finding an unknown number of solutions is a bit of a complex task and we will be implementing an algorithm for this purpose.

Due to the complex nature of the mathematical segment for this section, we recommend you go through the resources mentioned in the *Further reading* section, which will give you an idea of the mathematics behind the unknown number of solutions problem. The algorithm that we will be implementing is provided in *Figure 9.4*: