Skip to content

Pennylane converter #13

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

Open
ACE07-Sev opened this issue Jan 4, 2025 · 0 comments
Open

Pennylane converter #13

ACE07-Sev opened this issue Jan 4, 2025 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ACE07-Sev
Copy link
Member

ACE07-Sev commented Jan 4, 2025

Pennylane Converter

Description

Add a new file to quick.circuit.from_framework module called from_pennylane.py. Inside this file, add a new class named FromPennylane which takes a pennylane qnode instance, and returns its quick equivalent. Then, add the shortcut for this to quick.circuit.Circuit's .from_pennylane() method.

Tips

  • quick currently has implementations for qiskit, cirq, and pytket. Use these to get an idea for implementing this issue.
  • To avoid compatibility issues in the future arising from new gates and/or custom gates, the implementation must break the gates into already supported gates by quick before conversion. This is known as transpiling the circuit. Do not add every possible gate as it's unsustainable.
  • If you have issues and/or questions, ping @ACE07-Sev . He'd love to help out.
@ACE07-Sev ACE07-Sev added enhancement New feature or request good first issue Good for newcomers labels Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant