-
Notifications
You must be signed in to change notification settings - Fork 14
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
CIRQ support #1
Comments
Hi, I am interested with this project (listed in the unitaryHACK). Could you please elaborate a little bit more or share some guide? Thanks a lot! |
Hi @eraraya-ricardo! Thank you so much for reaching out and showing interest. In the next few days (before UnitaryHack officially begins on May 14) I will be pushing a new version of QRAND to the In there, you will find a subpackage named The goal is to implement those three interfaces in the modules Let me know if you had any other questions, and good luck! |
Dear @pedrorrivero, Instead of QuantumCircuit class, shouldn't the QiskitCircuit class inherit the QiskitQuantumCircuit? Since QiskitQuantumCircuit is the one that comes from the Qiskit package. I don't see how the QiskitCircuit class can access QiskitQuantumCircuit class methods by just inheriting QuantumCircuit class. Sorry if this turns out to be a noob question haha, I am not too familiar with Python software development. |
Hi @eraraya-ricardo!! Thanks for asking.
TLDR: those methods are empty because you HAVE TO implement them for Cirq with that exact same signature, just as I did for Qiskit. If you have any other doubts we can chat a bit more on Discord 🙂 |
Ok, let's discuss via Discord to minimize the spam here. |
Hi! @pedrorrivero I am also working on this. I have implemented the |
Hi @harry-stark! Thanks for showing interest. So, I am not very familiar with Cirq, but I would say that Generally, all that can be used to run a given circuit should be encapsulated inside the Later, Hope this helps! |
@pedrorrivero We can make a |
@harry-stark I see. What I meant was: can't you manually integrate both? |
The following classes need to be developed implementing the corresponding interfaces:
CirqPlatform
←QuantumPlatform
CirqBackend
←QuantumBackend
CirqJob
←QuantumJob
CirqCircuit
←QuantumCircuit
The first of these classes follows the Facade/Abstract Factory pattern, while the other two are Class Adapters. For an example check the Qiskit variants.
The text was updated successfully, but these errors were encountered: