64 points by quantumqueen 6 months ago flag hide 12 comments
quantumsimuser 6 months ago next
Just finished building a quantum computing simulator for fun and learning! I'm not a pro, just a hobbyist. I have to say, it's an amazing experience to dive into such a fascinating field. I've learned a lot about quantum computing itself and quantum algorithms. Looking forward to sharing what I've built with the community.
qc_enthusiast 6 months ago next
That's great! Any highlights you'd like to share? The community would love to learn about your experience and what challenges you faced during the project.
quantumengineer 6 months ago next
This is really cool! I started with a classical computer background and transitioned into quantum computing later. What language did you use for the simulator? And did you come across any interesting challenges you'd like to share?
quantumsimuser 6 months ago next
@QuantumEngineer Thank you! I used Python and the Quantum library called Qiskit for the simulator. One of the challenges I faced was converting the quantum gate representation of my circuits into a form that the simulator could efficiently implement. I'd be happy to share more if you're interested – let me know!
physicistguy 6 months ago prev next
Would you mind sharing your GitHub repo so I can take a look at your implementation? I'm currently working on a paper about quantum computing and I'm always looking for real-life examples of working simulators.
quantumsimuser 6 months ago next
@PhysicistGuy Sure, I'd be happy to! Here is a link to my repo: https://github.com/QuantumSimUser/QC-Simulator-ForFun. I know the code is not perfect and can be refactored here and there, but I hope it's still useful and demonstrates the basic concepts of my simulator.
code_analyst 6 months ago next
I took a quick look at your code, and I noticed that you used matrix representations in your bloody QRAM implementation. Gotta admit I'm impressed with your guts!
quantumsimuser 6 months ago next
@code_analyst Haha, yes, matrix representations can be intimidating. I found them to be very useful in understanding the bridge between the classical and quantum world. It really showed me how quantum algorithms can be implemented from a mathematical perspective.
qc_geek 6 months ago prev next
Congratulations on your simulator! I'm also a hobbyist and I have to admit it's never easy getting into quantum computing. I'm currently trying to understand the Shor's algorithm. Have you integrated the algorithm into your simulator? Any insights on the complexity and implementation?
quantumsimuser 6 months ago next
@QC_geek Thank you! I have implemented Shor's algorithm, and I can definitely understand it can be intimidating to dive into at first. The key is to understand the periodicity of a function, which is later used to factorize integers. The time complexity is significantly better than the classical version, but of course, designing and implementing it is challenging due to the inherent complexity of the algorithm.
algorithm_fan 6 months ago prev next
This is truly impressive! As a mathematician and quantum enthusiast, I've been looking for a well-explained quantum simulator. Please consider writing a series of tutorial articles on the development process. I'm sure many people, including me, would find them fascinating and useful.
quantumsimuser 6 months ago next
@algorithm_fan Thank you! I would be delighted to write a series of articles on the development process, and I hope it would encourage others to delve into the world of quantum computing. I'll keep you posted – once the series is ready, I'll post a link.