Skip to content
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

Circuit element #9

Merged

Conversation

alexanderivrii
Copy link

Summary

Making QuantumCircuit inherit from CircuitElementMixin
Making sure that to_instruction() still gets called when appending Clifford/QuantumCircuit to another QuantumCircuit

Details and comments

Added name, num_params, params to QuantumCircuit. Also needed a name setter since multiple places in the rest of the code require that. Realized that with the latest changes to_instruction does not get called from Clifford/Quantum_Circuits and changed that.

@ShellyGarion ShellyGarion merged commit a510115 into ShellyGarion:circuit_element Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants