Kevin J. Sung

Results 133 comments of Kevin J. Sung

>So for something like QuantumCircuit it's not realistic to have something of this form because we can't realistically return a string that python can eval to build an arbitrary quantum...

An executable repr for QuantumCircuit could be made possible with https://github.com/Qiskit/qiskit-terra/issues/8709

@rrodenbusch this is a long-term project. Feel free to open pull requests that improve the `repr`s for any classes in Qiskit Terra.

Here is how I would prioritize a few classes based on Bram's list (highest priority at the top): - Gate - Controlled Gate - Qubit - Sampler - Estimator -...

If I understand correctly, this removes the "quantum gate" concept from Qiskit. For example, it would no longer be possible to construct an object that represents the gate `Rx(0.1)`. If...

>There's no changes planned for the interface of QuantumCircuit.rx and friends right now. This syntax does not work for gates which don't have a corresponding method on QuantumCircuit. This is...

Bram has dropped out of the QAMP project this PR was for. I will take over this issue. Please close this PR and I'll open a new one.

No, I did not. Are you able to reproduce the issue in a Jupyter notebook?

This is very interesting. Thanks for the investigation @jlapeyre !

I've found an example that causes slowdown with Python 3.10. Copy the following into a code cell. The first time you execute the cell, it's fast (and results in an...