Giter VIP home page Giter VIP logo

Comments (11)

rraymondhp avatar rraymondhp commented on August 18, 2024

Hi, thanks reporting this issue.

I also found a similar issue and am thinking that it may be caused by the mapper.
I have raised the issue here:
Qiskit/qiskit#492

By the way, please update your qiskit to the latest version by pip install -U qiskit.

from qiskit-tutorials.

amantamirat avatar amantamirat commented on August 18, 2024

Thank You @rraymondhp now ay get similar error as
https://github.com/rraymondhp/qiskit-tutorial/blob/ba1d80923fc02234f1fadda7be996bdd6fb4c712/reference/algorithms/grover_algorithm.ipynb
says
qiskit.mapper._mappererror.MapperError: 'initial_layout qubit qin[15] not in input DAGCircuit'

from qiskit-tutorials.

rraymondhp avatar rraymondhp commented on August 18, 2024

Hi @amantamirat
There is a bug when using two or more quantum registers with different names. It will be fixed on the next release.

from qiskit-tutorials.

rraymondhp avatar rraymondhp commented on August 18, 2024

Hi @amantamirat
The bug with multiple registers has been fixed with version 0.5.3
Please update your qiskit-sdk-py by pip install -U qiskit.

Meanwhile, I have updated the tutorial for Grover search as the link below:
https://nbviewer.jupyter.org/github/QISKit/qiskit-tutorial/blob/master/reference/algorithms/grover_algorithm.ipynb

from qiskit-tutorials.

jaygambetta avatar jaygambetta commented on August 18, 2024

@rraymondhp can we close

from qiskit-tutorials.

rraymondhp avatar rraymondhp commented on August 18, 2024

Thanks. Yes, it is solved.

from qiskit-tutorials.

amantamirat avatar amantamirat commented on August 18, 2024

Hello beautiful people sorry for lost , DAG circuit now is not the problem but this
qiskit._qiskiterror.QISKitError: '"{'message': 'Error parsing QASM. Error parsing qasm number 0.', 'statusCode': 400, 'status': 400, 'code': 'QASM_NOT_VALID'}"'
the code works fine in any simulator devices but when i try to run on real Quantum device it give me this Error

from qiskit-tutorials.

rraymondhp avatar rraymondhp commented on August 18, 2024

Hello,
Have you updated qiskit to be the latest (version 0.5.6)?

from qiskit-tutorials.

amantamirat avatar amantamirat commented on August 18, 2024

yes I have updated, but still the same error message!!!!!

from qiskit-tutorials.

rraymondhp avatar rraymondhp commented on August 18, 2024

Hi @amantamirat
I succeeded to run the program, so I guess I need to know more of your program.
Below is the link to my program:

https://github.com/rraymondhp/qiskit-tutorial/blob/rr-v56-grover/reference/algorithms/grover_algorithm.ipynb

from qiskit-tutorials.

amantamirat avatar amantamirat commented on August 18, 2024

Hello: my program is a Grover algorithm that searches from array but when i increase the size of the array the error is occurred .technically in ibm simulator no more than 8 elements i.e. 3 iteration and for ibmx5 is only 2 iterations are working beyond this size it is not working !!

from qiskit-tutorials.

Related Issues (20)

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.