-
Notifications
You must be signed in to change notification settings - Fork 78
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 circuit to_cirq
and from_cirq
functionality
#68
Comments
Hi! I'm willing to work on this issue. I suppose I can work on |
@JettChenT , thanks for your interest, feel free to contribute and open pr on this issue! For |
Got it, thanks! |
Task description
Similar to
AbstractCircuit.to_qiskit
method, ultimately we would like to transform tensorcircuit Circuit with cirq Circuit as well.Implementation
Add functions similar to
qir2qiskit
in https://github.com/tencent-quantum-lab/tensorcircuit/blob/master/tensorcircuit/translation.py. And then add a wrapper method in https://github.com/tencent-quantum-lab/tensorcircuit/blob/master/tensorcircuit/abstractcircuit.py as.to_cirq
and.from_cirq
.Add test similar to https://github.com/tencent-quantum-lab/tensorcircuit/blob/master/tests/test_circuit.py#L845 accordingly.
Requirements
Difficulty: ★★★
The text was updated successfully, but these errors were encountered: