David Wierichs

Results 63 comments of David Wierichs

@Tarun-Kumar07 It is merged :) I took the liberty to merge the master branch into your branch, updating the tests you wrote (and that made it into #5774) accordingly.

Hi @Tarun-Kumar07 , Do you know when you might have time to get back to this? :) Or would you prefer us to finalize it?

Thanks @Tarun-Kumar07. That is very understandable of course! I'll try and push your PR through, as it is closed to finish anyways, I think. Thank you for your contribution, looking...

It was decided not to implement this change. Good to close @trbromley @co9olguy ?

@trbromley I don't think we have a story, because this PR came out of exploratory work for [sc-61425]. I don't know whether we are still interested in making this one...

Ah, yes, I should have been more clear with what I mean by "end of a circuit". I meant that we can not infer that a quantum circuit has been...

Should the test file be renamed to `tests/capture/test_measurements.py`?

This works now: ```python @qml.qnode(qml.device('default.qubit', wires=2, shots=(10, 11))) def circuit(x): qml.RX(x, wires=0) qml.RX(x, wires=1) return qml.expval(qml.PauliZ(0)), qml.var(qml.Y(1)) x = qml.numpy.array([1.1, 0.2]) circuit(x) >>> ((array([0.2, 1. ]), array([0. , 0.96])), (array([0.63636364,...

See [here](https://github.com/PennyLaneAI/pennylane/blob/f033612126a39b9b7003f1624b5264da121689a7/pennylane/capture/meta_type.py#L30), e.g. :)