Coder Social home page Coder Social logo

pygoat's People

Contributors

warrench avatar

Stargazers

 avatar

pygoat's Issues

examples take too long and infidelity is high

  • output of 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 long

Including the Gradient Causes Issues

Including 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.