-
Notifications
You must be signed in to change notification settings - Fork 860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add another implementation for the "increment" function in the discrete quantum walk tutorial #56
Comments
@AbdullahKazi500 Please see the description above. Let us know if you have any questions. |
sure let me have a look |
@TomerGoldfriend I have started the work on this |
Great @AbdullahKazi500 ! let us know if you have any questions. |
Hi can we use auxiliary qubits (qr_aux) when implementing multi-controlled-X gates in Classiq? |
You do not need to specify auxiliary qubits explicitly. Classiq supports various implementations for the multi-controlled-X operation. The implementation, and in particular whether there is a usage of auxiliaries or not, is determined automatically by the synthesis. For example, you can synthesize the following code
with different optimization/constraints and see that different implementations are chosen. |
@TomerGoldfriend - is this still in progress or should I close it? Thanks |
@AbdullahKazi500 could you please give an update? are you planning to work on this? |
Hi @amir-naveh and @TomerGoldfriend this is still in progress I am testing my code will report soon |
you can keep the issue open for now |
Hi tomer I got the implementation running the code runs fine for now and is giving the output with the increment decrement |
OK, good @AbdullahKazi500 . |
@TomerGoldfriend - what is the status here? Can we close this? |
there was some progress but the code is halfway done as I am busy this week and the coming week you can close it and if you want you can reopen it later on |
Hi Tomer if you want I can upload my file but I am not sure how well is the implementation been done |
@AbdullahKazi500 no need to upload a partial code. @amir-naveh I am closing this and will reopen when @AbdullahKazi500 |
The tutorial on Discrete Quantum Walks demonstrates an example of a quantum walk on a circle. The
quantum_step_clockwise
quantum function is implemented as a QFT-adder, however, there are other implementations available for such quantum operation, e.g., by applying a cascade of multi-controlled-X gates.The goal of this issue is to add another implementation for the
quantum_step_clockwise
quantum function in the aforementioned tutorial.Detailed guidelines:
qfunc increment(x: QArray[QBit])
.If you have any questions or comments, you can ask them here in the issue, or in our slack community, and the Classiq team will be happy to assist.
Happy quantum coding!
The text was updated successfully, but these errors were encountered: