Giter Site home page Giter Site logo

Comments (3)

hillmich avatar hillmich commented on June 12, 2024

Hi,

could you give us more information about the error(s) and the compiler you are using?
I just compiled the project without problems.

Regarding your issue with the direction of the CNOT gate: Did you change the architecture to to IBM QX5? (The default is Linear Nearest Neighbor and I have to admin this is not well-reflected in the documentation.)

from ibm_qx_mapping.

sunghyepark avatar sunghyepark commented on June 12, 2024

As you told me about setting the architecture to the IBM QX5, architecture in the main code is well set up so the direction of the CNOT gate is no problem.

And the error came out like this at first,

       /home/shpark/Quantum/Bench_of_quantum_circuit/ibm_qx_mapping/src/main.cpp:108:29:   required from here

       /usr/include/c++/4.8.2/bits/stl_tree.h:140:49: error: no matching function for call to 'edge::edge(int&, int)'
           _M_value_field(std::forward<_Args>(__args)...) { }
                                                        ^

       /usr/include/c++/4.8.2/bits/stl_tree.h:140:49: error: no matching function for call to 'edge::edge(int, int&)'
           _M_value_field(std::forward<_Args>(__args)...) { }
                                                        ^

But, it seems to be because I downloaded the previous version of the git code.
There was a problem in the 'graph.emplace' part of build_graph_NN, but the latest version has been fixed so that no error occurs.

Thank you once again for everything you've done.

from ibm_qx_mapping.

hillmich avatar hillmich commented on June 12, 2024

Happy to help :)

from ibm_qx_mapping.

Related Issues (7)

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.