warrench / pygoat Goto Github PK
View Code? Open in Web Editor NEWPython implementation of https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.120.150401
Python implementation of https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.120.150401
SimpleHadamard.py
PS C:\Users\e> SimpleHadamard.py
Integration Complete...
The infidelity is:
0.3868737869970753
The parameters are:
{tY_0: 19.72206227728331, AY_0: -0.37873943263984455, sigmaY_0: 0.682687294871015, AX_0: 0.8492747737665347, sigmaX_0: 0.17010058987607302, tX_0: 14.553918945145272, tX_1: 14.268708917098309, AY_1: 0.9515454653540705, AX_1: -0.26604255253143716, sigmaX_1: 0.7078547335694371, sigmaY_1: 0.22163576132820884, tY_1: 17.37406088566494, tY_2: 17.559472905220296, sigmaX_2: 0.044170770977128515, AX_2: -0.4564693046369608, tX_2: 10.23151146798639, sigmaY_2: 0.5681458797942436, AY_2: 0.8965762468732752}
TransmonHam
takes too longIncluding the gradient of the infidelity as stated in the paper leads the scipy minimization function to cycle back to the original parameters and doesn't improve the infidelity.
An issue in the implementation of the gradient?
Possible fix is to make sure that the gradient is defined in the same order as the parameters when passed into the minimization function. I think that is the cause.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.