Skip to content
#

automatic-differentiation

Here are 278 public repositories matching this topic...

pennylane
eddddddy
eddddddy commented May 19, 2022

Expected behavior

A QNode wrapped in qml.batch_params should raise an error during construction if the batch dimensions of the input parameters don't match.

Actual behavior

The error is not raised in some scenarios. In fact, the error is only raised when the batch dimension of the first parameter to the circuit is the largest of all the other batch dimensions.

For example, t

bug 🐛 good first issue
aesara
twiecki
twiecki commented May 19, 2022

Discussed in aesara-devs/aesara#879

Text from @brandonwillard:

Aesara is a fork of Theano, and Theano was commonly referred to as a "deep learning" (DL) library, but Aesara is not a DL library.

Designations like "deep learning library" reflect the priorities/goals of a library; specifically, that the library serves the purposes of DL and its comput

documentation good first issue
bob-carpenter
bob-carpenter commented May 16, 2022

Description

Add adjoint-Jacobian specialization for reverse mode for the fast Fourier transform (FFT) and its inverse.

Example

FFT case

If y = fft(x), then the adjoint-Jacobian is just the inverse FFT applied to the adjoint of the result,

adjoint(x) += ifft(adjoint(y))

Inverse FFT case

If y = ifft(x), then the adjoint-Jacobian update rule is inve

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

help wanted good first issue
AeroSandbox

Aircraft design optimization made fast through modern automatic differentiation. Composable analysis tools for aerodynamics, propulsion, structures, trajectory design, and much more.

  • Updated May 28, 2022
  • Jupyter Notebook
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
willtebbutt
willtebbutt commented Jan 18, 2020

Lots has changed since the docs were first written. #152 addresses a number of things, but there are a few more things that we might want to consider:

  • changing all references to autodiff / automatic differentiation to AD / algorithmic differentiation, with a terminology box in the docs somewhere, explaining what we're on about.
  • In the "On writing good rrule and frule " bit, we should consi
good first issue

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