Comments (2)
In-place operations and projections into measurement eigenstates are done.
The Ising benchmark before, using xi=4
:
Ep = 1 Loss = 1.03229E+01 Fidelity = 5.826E-01
Ep = 2 Loss = 9.97692E+00 Fidelity = 7.322E-01
Ep = 3 Loss = 9.94436E+00 Fidelity = 8.212E-01
Ep = 4 Loss = 9.93183E+00 Fidelity = 8.677E-01
Ep = 5 Loss = 9.92677E+00 Fidelity = 8.928E-01
793.939391 seconds (5.58 G allocations: 626.845 GiB, 9.90% gc time)
and after:
Ep = 1 Loss = 1.03221E+01 Fidelity = 5.826E-01
Ep = 2 Loss = 9.97791E+00 Fidelity = 7.386E-01
Ep = 3 Loss = 9.94415E+00 Fidelity = 8.197E-01
Ep = 4 Loss = 9.93238E+00 Fidelity = 8.684E-01
Ep = 5 Loss = 9.92604E+00 Fidelity = 8.925E-01
324.237601 seconds (3.14 G allocations: 310.805 GiB, 12.07% gc time)
Note: there are some small discrepancies in the fidelity.
from pastaq.jl.
It appears that the first simulation was done at a commit a little too early, where some other core functionalities has been modified afterwards. By running the code for a later commit, the results are compatible with the LPDO after in-place optimization.
from pastaq.jl.
Related Issues (20)
- Better interface for `runcircuit` on GPUs HOT 19
- Generalize state preparation and measurement for noisy processes
- Generalize input states / measurements in `tomography`
- Zygote `rrule(typeof(apply),...)` performance drop HOT 2
- Passing `Matrix` in gate structure HOT 1
- `nqubits` doesn't handle gates with sites in tuple correctly
- `"bit_flip"` noise makes a complex circuit
- Update for latest version of SCS
- Rename default branch from `master` to `main`
- unnormalized MPS after DMRG when getting samples in multithread mode HOT 3
- 'ArgumentError: reducing over an empty collection is not allowed' for noisy circuit HOT 5
- rayleigh_quotient not defined HOT 2
- Custom unentangled density matrix for initial state HOT 2
- Hoe make plot circuit like qiskit have it? HOT 2
- ChainRule error when calculating gradient through noise HOT 6
- Gradient Performance Enhancement: Implementing `expect` Function to Exploit Hermitian Nature of H HOT 3
- Papers citing PastaQ HOT 1
- MPS to quantum circuit
- How to calculate the entropy/entanglement metrics efficiently HOT 2
- "MPS is not normalized" when I try to `PastaQ.getsamples(ψ, bases)` HOT 2
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 pastaq.jl.