Skip to content
#

autograd

Here are 117 public repositories matching this topic...

seemethere
seemethere commented Mar 16, 2022

🚀 The feature, motivation and pitch

After the revert of pytorch/pytorch@7cf9b94 we've identified a need to add a lint that checks file names to ensure that they're compatible with Windows machines.

Observed error: (from example commit)

Error: error: invalid path 'test/test_ops_gradients.py '

A simple check on chang

module: bootcamp good first issue module: ci triaged
pennylane
glassnotes
glassnotes commented Nov 25, 2021

Feature details

Due to the similarity, it is easy to confuse qml.X and qml.PauliX, especially since other methods of specifying circuits, e.g., QASM, use x for PauliX. But if a user uses qml.X in their circuit on a qubit device, nothing happens to inform them that the incorrect operation is being used:

@qml.qnode(dev)
def circ():
    qml.PauliX(wires=0)
    qml.Hada
enhancement good first issue
norse
qml
josh146
josh146 commented Apr 23, 2021

The init module has been deprecated, and the recommend approach for generating initial weights is to use the Template.shape method:

>>> from pennylane.templates import StronglyEntanglingLayers
>>> qml.init.strong_ent_layers_normal(n_layers=3, n_wires=2) # deprecated
>>> np.random.random(StronglyEntanglingLayers.shape(n_layers=3, n_wires=2))  # new approach

We should upd

help wanted good first issue

Improve this page

Add a description, image, and links to the autograd topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the autograd topic, visit your repo's landing page and select "manage topics."

Learn more