google / qhbm-library

Quantum Hamiltonian-Based Models built on TensorFlow Quantum
https://qhbm-library.readthedocs.io/en/latest/
Apache License 2.0
40 stars 15 forks source link

QuantumCircuit addition and inversion #122

Closed zaqqwerty closed 2 years ago

zaqqwerty commented 2 years ago

Implement __add__ and __pow__ methods for the QuantumCircuit class.

This is part of enabling expectation values of Hamiltonians (#95) in the new structure (#110).