The Wayback Machine - https://web.archive.org/web/20210806191040/https://github.com/topics/automatic-differentiation
Skip to content
#

automatic-differentiation

Here are 236 public repositories matching this topic...

pennylane
albi3ro
albi3ro commented Jul 7, 2021

As I was inspecting the MultiControlledX gate, I noticed how it printed out:

MultiControlledX(array([[0, 1],
       [1, 0]]), wires=[0, 1, 2, 3])

And was quite confused as to where the array came from. It turns out MultiControlledX inherits from ControlledQubitUnitary with the Unitary matrix as an X gate. This makes MultiControlledX a parametrized gate.

Worse yet, th

bnicenboim
bnicenboim commented Jun 1, 2017

Summary:

The functions for the categorical distribution only accept a column vector, it would be great if it could accept also row vectors.

Description:

I use the categorical distribution to go over a matrix N_obs x N_probabilities, so it's more natural for me to use row vectors than column vectors.

Current functions:

real categorical_lpmf(ints y | vector theta)
real

kotlingrad
breandan
breandan commented Oct 25, 2020

Debugging Kotlin∇ code within IntelliJ IDEA can be somewhat cumbersome due to the functional API structure (lots of deeply-nested stack traces and context switching). To facilitate more user-friendly debugging, we should add support for visual debugging by exposing Kaliningraph’s built-in graph visualization capabilities. For example, the use

aesara
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

Improve this page

Add a description, image, and links to the automatic-differentiation 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 automatic-differentiation topic, visit your repo's landing page and select "manage topics."

Learn more