David Wierichs

Results 49 issues of David Wierichs

**Context:** It was found (#6065) that `_check_independence` quickly becomes numerically unstable for linear combinations of Paulis. **Description of the Change:** This PR slightly changes the way in which the function...

**Context:** This is a prototype to support parameter-shift rule with additional scenarios with mid-circuit measurements. It is not fully tested and comes without guarantees at the moment. **Description of the...

### Expected behavior Any valid quantum subcircuit can be used within the body of `qml.cond`. The resulting circuit is drawn correctly. ### Actual behavior Using `qml.measure` in the body of...

bug :bug:

### Expected behavior Parameter-shift differentiation with postselected MCMs works or raises an informative error. ### Actual behavior It returns wrong results. ### Additional information This topic has been discovered and...

bug :bug:

**Title:** Constant-depth preparation of matrix product states with dynamic circuits **Summary:** Matrix product states (MPS) form an important class of quantum many-body states. Preparing them is an important subroutine for...

review-ready

**Title:** The KAK theorem **Summary:** The KAK theorem is a group theoretical tool to decompose operators into a sequence of smaller operators. It brings an abstract mathematical structure to direct...

**Context:** Wire labels are drawn by default. **Description of the Change:** This PR adds an option to hide the wire labels, which can be useful to produce more clean images,...

**Context:** **Description of the Change:** **Benefits:** **Possible Drawbacks:** **Related GitHub Issues:**

do not merge :warning:

### Feature details The `pauli_rep` property allows to represent an operator as a `PauliSentence` instance. Currently, it is mostly implemented for `qml.X, qml.Y, qml.Z` and for operator math classes. It...

enhancement :sparkles: