This repo is meant to be a collection of some of the simple yet useful algorithmic techniques, that have been used to facilate other more complicated algorithms in some of our projects. I am yet to complete some of them but feel free to post more problems or solutions to the mentioned probelms with appropriate documentation.
The Deusth-Josza algorithm gives us an way of determining whether a given boolen fucntion
To deal with this I have made a slight modification to or regular DJ algorithm, such that it allows us to probe into the nature of the boolean function by recasting necessary information into the amplitude of ancilla qubits. Once we done, we can read off the required iinformation from the probability distribution of the ancilla qubit itself. Below I give a brief overview of the algorithm and then move on to an example implementation
Here our aim is to check whether a particular lookup ket say
In later generalisation we can try to compare two different sets , say
Note also that we want our algorithm to work even while the elements of
Assume that you have a state of form,
good
states and bad
states and
Given this the challenge is to amplify the states corresponding to the good
states Grover Search
cannot be used in this case because we do not have sufficient information about the initial state diffuser
!
To check whether a given sequence is a palindrome or not is a classic programming problem. Recently I came across a quantum version of it at qosf-monthly-challenges, where the challenge was to check whether a given sequence of integer is a palindrome or not by using a QRAM structure with added comparators. However, here I will show how we can check for a palindorme even if the alphabets choosen is quantum one, thus genralising the idea of palindrome checking! And it will be an efficient one ...
Here the aim was to design a quantum circuit that could create a uniform suoerposition of a given string of quantum algorithms. We then explore its possible applications to a permutation based secret-sharing algorithm.