ubsuny / 23-Homework1G1

Homework 1 Repository Group 1
0 stars 6 forks source link

Basic setup for Quantum Computing #22

Closed reshnashrestha closed 12 months ago

reshnashrestha commented 12 months ago

@WildJimmy Can you elaborate on the basic steps we need to follow to implement classical arithmetic functions (e.g., division) on IBM Quantum Computer? It would be helpful if you could share the process that how you did your task on this homework. Thanks in advance.

WildJimmy commented 12 months ago

Sure! The process varies based on the function since you need a different quantum circuit, but the main idea is you use the qiskit library in python to create and manipulate your quantum circuit. Actually knowing what kind of circuit to make is the tricky part, but for that I would definitely just recommend using Bard. For example, I got a pretty in depth response for your group's algorithm (division) by asking "Could you write me code that implements a division function on a quantum computer with qiskit?"

That said, you will probably still have to troubleshoot a bit, but it will definitely get you a good amount of the way.

reshnashrestha commented 12 months ago

Yeah, I tried this ... hope this will help. Thanks.