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

automatic-differentiation

Here are 245 public repositories matching this topic...

pennylane
trbromley
trbromley commented Nov 8, 2021

Feature details

The qml.transforms.insert() transform was recently added in PennyLaneAI/pennylane#1795, allowing users to insert a specified single qubit gate into a circuit with three orientations:

  • at the start of the circuit
  • at the end of the circuit
  • after every gate in the circuit

However, it might also be nice to have the option of inserting multiqubi

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
AeroSandbox

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

  • Updated Nov 18, 2021
  • 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

mchitre
mchitre commented Nov 16, 2021

When Zygote takes a gradient of an expression with a product of more than 3 terms, it allocates and becomes 100,000 times slower!

julia> using Zygote
julia> f(x) = 2.0 * 2.0 * x
julia> g(x) = 2.0 * 2.0 * 2.0 * x
julia> h(x) = 8.0 * x
julia> @btime gradient(f, 1.0)
  2.125 ns (0 allocations: 0 bytes)
julia> @btime gradient(g, 1.0)
  119.250 μs (276 allocations: 10.91 KiB)
julia

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