Closed abdullahkhalids closed 1 year ago
This issue looks particularly interesting! I will try to solve it during UnitaryHack 2023.
@JiQing000 Should I assign you to this bounty then?
@abdullahkhalids is this issue open
@AbdullahKazi500 Lets wait till tomorrow to see if the first person still wants it. If not, then you can do it. Thanks for understanding.
Okay then please do assign it later on Thank you
@AbdullahKazi500 Lets wait till tomorrow to see if the first person still wants it. If not, then you can do it. Thanks for understanding.
Yes, please assign me to this bounty. Thank you.
Okay then please do assign it later on Thank you
Sorry for taking this issue. If you want, we can work together.
Yes if you want to @JiQing000
Yes if you want to @JiQing000
Sounds great. How should we contact?
UF Discord channel My Username is Ludwig Boltzmann
@JiQing000 Should I assign you to this bounty then?
After careful evaluation, we decided to work separately. Please assign the bounty to me, and it would be very kind of you if you could assign @AbdullahKazi500 to another issue. Thank you.
@abdullahkhalids may I ask for the surface encoder circuit, is the value of d specified? Shall I just assume that d = 3?
@abdullahkhalids Hi, I have completed my solution. I used 4 data qubits and 3 ancilla qubits. The 3 ancilla qubits contain two Z-type ancilla and one X-type ancilla. But I could not upload the file to the drafts folder. Could you give me access? Thank you.
After careful evaluation, we decided to work separately. Please assign the bounty to me, and it would be very kind of you if you could assign @AbdullahKazi500 to another issue. Thank you.
Thanks for letting me know. @AbdullahKazi500 Good luck.
@abdullahkhalids may I ask for the surface encoder circuit, is the value of d specified? Shall I just assume that d = 3?
@JiQing000 We want the code for arbitrary d. So you will have to put in some work.
But I could not upload the file to the drafts folder. Could you give me access? Thank you.
You are supposed to open a pull request. Please see the unitaryhack website which contains details instructions on how to do this.
@abdullahkhalids Thank you for the clarification. May I ask whether I need to account for even distance and asymmetric surface code?
@abdullahkhalids Hi, I have made a pull request via fork. My solution can create a circuit for symmetrical surface code with any odd value of d. Please let me know if I made any mistake or if any adjustment is required. Thank you!
Hey! I don't see a pull request on my end. Please make sure you followed the process properly.
Hey! I don't see a pull request on my end. Please make sure you followed the process properly.
Sorry for my mistake. Now you should be able to find it.
Thanks, I see it now. I will test this tomorrow and get back to you.
If you used any particular references, can you kindly link them here.
Thank you for the reply. I mainly refer to this article: Fowler, A.G., Mariantoni, M., Martinis, J.M., & Cleland, A.N. (2012). Surface codes: Towards practical large-scale quantum computation. Physical Review A, 86, 032324 for the theory. I also used the method in this GitHub tutorial to check the results of my code: https://github.com/yaleqc/qtcodes/blob/master/tutorials/xxzz/1-circuits.ipynb.
@JiQing000 Thank you for finishing this task. Good luck with the rest of the hackathon.
@abdullahkhalids Thank you and it has been a pleasure journey to work with you. Hope we will have more chances to collaborate in future!
A future chapter of the book will discuss surface codes.
Implement the syndrome measurements for the surface code in stac.
Please see how standard syndrome measurements are implemented.
This is a good opportunity to use coordinate based addressing of qubits: see last section of this guide.
circ.layout_map
and map the virtual qubits to these physical qubits.circ.geo_append
method to create the syndrome circuit.To complete this issue, please create a .py file in the drafts folder that contains a function
_surface_codes_syndrome_measurements
.