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] Finite difference gradient transform is zero with Torch interface HOT 1
- [BUG] `qml.map_wires` does not work correctly with `qml.cond`
- Key error in Accuracy function HOT 5
- [BUG] `CNOT` and `PauliZ` do not work with large batched states and tensorflow
- Implement `qml.equal` comparison for `BasisRotation` HOT 3
- Implement comparison between `QuantumScript` classes with `qml.equal` HOT 5
- [BUG] `qml.ctrl` does not modify `parameter_frequencies` correctly
- Add ability to scale `Shots` object with `__mul__` and `*` HOT 5
- [BUG] MultiControlledX decomposition HOT 2
- [BUG] Non-standard notation HOT 5
- Quantum Dropout implementation HOT 7
- split_non_commuting transform accepts any type of measurement HOT 5
- [BUG] Can't check if `qml.measure` is inside an `Attribute` object
- [BUG] output shape and type of `gradient_transform` applied to QNodes depend on classical processing
- Implement `ProbabilityMP.process_counts` HOT 2
- Allow qml.draw_mpl to draw onto a specified figure or axis HOT 1
- [BUG] tensorflow autograph with finite diff and M1 Mac kills the kernel HOT 4
- Parallelization in Hamiltonians building HOT 2
- Problem with differentiating ``expm`` with jax backend HOT 2
- StatePrep sometimes fails for TorchLayers HOT 6
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.