Josh Izaac

Results 53 issues of Josh Izaac

### Feature details Currently, [`qml.Tracker`](https://pennylane.readthedocs.io/en/stable/code/api/pennylane.Tracker.html) works really well for tracking quantities that are already being recorded by the device. However, it is not currently possible to add _custom_ quantities to...

enhancement :sparkles:

### Expected behavior Consider the following circuit: ```python dev = qml.device("lightning.qubit", wires=2, shots=1) H = qml.PauliZ(0) + qml.PauliZ(1) @qml.qnode(dev) def cost_function3(): qml.Hadamard(0) qml.CNOT(wires=[0, 1]) return qml.expval(H) ``` This circuit will...

bug :bug:

The following demos include incorrect ReST, that may result in rendering issues. ## Title underline too short - `tutorial_adaptive_circuits.rst` ``` Sparse Hamiltonians ------------- ``` - `tutorial_sc_qubits.rst` ``` Quantum computing with...

bug

In the latest version of PennyLane, `qml.draw()` defaults to drawing the QNode as is, without expanding templates. However, some of the demos (including `tutorial_qaoa_intro.py`) use the circuit drawer to show...

The stochastic parameter-shift demo is somewhat outdated in terms of the content, and doesn't reflect new understanding of where the stochastic shift rule applies. For example: - it is now...

demos

The following two pages are due for an upgrade: - https://pennylane.ai/qml/glossary/parameter_shift.html: We should link to our various parameter-shift demos, and update the derivation! It is outdated when compared to latest...

enhancement

The `init` module has been deprecated, and the recommend approach for generating initial weights is to use the `Template.shape` method: ```python >>> from pennylane.templates import StronglyEntanglingLayers >>> qml.init.strong_ent_layers_normal(n_layers=3, n_wires=2) #...

help wanted
good first issue

The time scaling plot in the backprop tutorial is currently incorrect: ![image](https://user-images.githubusercontent.com/2959003/115442108-35dbb880-a244-11eb-9f59-a1f879da4fc0.png) Strangely enough, the first section of the demo, comparing single forwards and backwards pass times for parameter-shift vs....

Currently, several demos are not executed when the website is deployed, for a couple of reasons: * Execution time: `qgrnn`, `qonn`, `quantum_neural_net` * Requires access to hardware/external services or APIs:...

enhancement

The [demonstrations page](https://pennylane.ai/qml/demonstrations.html) should have a section at the bottom, providing the Python environment details used to build the tutorials. For example, something like the following: ```rest .. rubric:: Running...

enhancement