Comments (3)
Or the solution you have of qml.execute([tape])
should also work, and is maybe more future proof since it is independent of the device API :)
from pennylane-lightning.
@maliasadi let me know how this one goes, and if you need any help/changes are needed to PL.
Hopefully, this should just be a case of updating places in the test where tape.execute(dev)
are called, to dev.execute(tape)
or dev.batch_execute([tape])
.
from pennylane-lightning.
Thanks @josh146! I used qml.execute([tape], dev)
instead of the dev.execute
method. I am glad that you just approved it
from pennylane-lightning.
Related Issues (20)
- Adjoint jacobian throws std::range_error
- Follow PennyLane `default.qubit` implementation for identity ops
- Use GCC for macOS wheels/tests HOT 1
- Handle IsingXY gate HOT 5
- MacOS arm64 wheels installed via pip result in ImportError HOT 4
- Support the same set of observables in forward/backward path HOT 1
- Add LM implementations of CSWAP & Toffoli gates HOT 2
- Update MacOS min version support to MacOS 11 HOT 1
- Docker Creation Fail GCC version and Test Fail HOT 7
- CodeCov report different coverage depending on the runner HOT 1
- Don't use brew for llvm path HOT 12
- Improve tests and checks workflows
- Ensure templated floating-point values are used throughout
- Update GCC 10.x to 11.x in CI tests HOT 1
- Update wheel-builder compiler from GCC 10.x to GCC 11.x
- Bug with probability returned by lightning
- Gate SingleExcitation not supported on device lightning.qubit HOT 2
- Unable to build from pypi source tarball HOT 2
- UserWarning: Pre-compiled binaries for lightning.qubit are not available HOT 4
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-lightning.