Skip to content

Circuit element#9

Merged
ShellyGarion merged 3 commits into
ShellyGarion:circuit_elementfrom
alexanderivrii:circuit_element
Oct 10, 2021
Merged

Circuit element#9
ShellyGarion merged 3 commits into
ShellyGarion:circuit_elementfrom
alexanderivrii:circuit_element

Conversation

@alexanderivrii
Copy link
Copy Markdown

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