Comments (4)
This behaviour comes from the master branch, so @smite would be better placed to answer. From what I recall, the current Optimizer
class requires an argument slot for batched
.
from pennylane.
Let's keep in mind that this issue will likely become irrelevant as we deal with #12
from pennylane.
The optimization interface will change, there are may ways to handle the batching. We can certainly remove the second argument.
from pennylane.
Cool. Closing it.
from pennylane.
Related Issues (20)
- [BUG] `qml.eigvals` sometimes fails when using `LinearCombination` HOT 1
- [BUG] `qml.Adjoint` and `qml.Pow` do not commute when exponent is fractional HOT 1
- [BUG] JIT + Global measurements without device wires does not work
- [BUG] `StatePrep` and its decomposition differ in derivative
- Support broadcasting/batching of `GlobalPhase`
- [BUG] `qml.pauli_decompose` fails when being jit-ted HOT 1
- [BUG] Allow natural extension of `QubitUnitary` to 1x1 matrices
- [BUG] Documentation inconsistently states that GlobalPhase acts on all wires
- Align definition of GlobalPhase convention HOT 4
- [BUG] Tensor product alters operands
- [BUG] Second-oder derivatives fail with shots enabled for product of input variables HOT 1
- [BUG] `split_non_commuting` is not differentiable with trainable observables
- [BUG] hadamard gradient does not work with wires-broadcasted measurements
- [BUG] Precision error in two-qubit decomposition of qml.QubitUnitary HOT 10
- Broadcast Expand Prevents Torchlayer from detecting Inputs Argument HOT 3
- Add an `is_pure` method in `qml.math.quantum` for quick purity checks on density matrices HOT 3
- [BUG] split_non_commuting not used when running qml.var HOT 3
- [BUG] Incorrect answers from qml.var due to sum hashing
- [BUG] Controlled time evolution with `lightning.qubit` gives incorrect results
- [BUG] Using qml.apply on measurementProcess separated by commas returns () HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pennylane.