Closed teaguetomesh closed 2 years ago
I have a version working of parameterized circuits, but testing needs to be done to see if it is what you'd expect. @kevincsmith is interested in it too. See https://github.com/C2QA/c2qa-qiskit/pull/47 for the current PR into main.
I merged into main this morning. Can you see how it works for you and your needs?
We've found an error in the current implementation that improperly calculates the number of qiskit qubits used by our parameterized gates. I have a new PR started to correct that: https://github.com/C2QA/c2qa-qiskit/pull/51
@kevincsmith has confirmed our implementation works with his VQE effort. I'll close this issue for now. If there are coding changes needed or errors found, please let us know.
Hi @tjstavenger-pnnl, I was just talking with @EllaCrane and she mentioned that you are looking into adding support for Parameterized circuits in c2qa-qiskit. Just yesterday I had tested whether this was possible but ran into a TypeError:
unsupported operand type(s) for ** or pow(): 'Parameter' and 'int'
.I'm opening this issue to provide the small example from our use case that reproduces the error, if it is any help to you.