Giter Site home page Giter Site logo

Comments (7)

hillmich avatar hillmich commented on June 12, 2024 1

Hi,

you can find the missing file in the Qiskit repo. You have to place it in the working directory from where you start the executable and it should work fine.

Cheers,
Stefan

from ibm_qx_mapping.

Astlaan avatar Astlaan commented on June 12, 2024

Hi, thanks, I thought I had posted a follow up for this issue.
I found the missing file in the examples folder, in this repo. It worked.

The funny this is, previously I tried to use the qelib1.inc present in Qiskit-Terra, and it failed, with a token related error message...

from ibm_qx_mapping.

 avatar commented on June 12, 2024

The current version does not work alone without ibm qiskit ?

from ibm_qx_mapping.

azulehner avatar azulehner commented on June 12, 2024

The current version works without IBM Qiskit. The executable has to be launched from a directory that includes the qelib1.inc file with the definition of gates like h, t, ...

from ibm_qx_mapping.

 avatar commented on June 12, 2024

The current version works without IBM Qiskit. The executable has to be launched from a directory that includes the qelib1.inc file with the definition of gates like h, t, ...

Do you mean that anyway the file "qelib1.inc" should be placed ?
I remember an earlier version correctly worked without the file.

from ibm_qx_mapping.

azulehner avatar azulehner commented on June 12, 2024

You have to place the file in the directory from which you start the program if the .qasm file you try to map a .qasm file that contains the statement include "qelib1.inc";. If you do not have an include statement, the file is obviously not needed. The file can be found in the folder examples of this repository.

from ibm_qx_mapping.

 avatar commented on June 12, 2024

Thank you, azulehner.

So far I had tested your earlier version which works well as stand alone without the file.
(To be honest, I do not know the previous version really does not require the file, but I didn't check the file to run your mapper.)

Recently, I recognized that a new version was uploaded.
When I tested it, some error with the file happened. (Still, the previous version works well in the same laptop.)
In this regards, I have asked.

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.