Giter Club home page Giter Club logo

Comments (8)

alejomonbar avatar alejomonbar commented on July 19, 2024

Hi @jwoehr, you should have the latest version of qiskit. you can try with

  • pip uninstall qiskit
  • pip install qiskit

The current version that I'm using is Qiskit 0.17.4

from binpackingproblemnewapproach.

alejomonbar avatar alejomonbar commented on July 19, 2024

Additionally, I will update the Jupyter notebook with the Qiskit version information. I completely forget about it. @jwoehr

from binpackingproblemnewapproach.

alejomonbar avatar alejomonbar commented on July 19, 2024

At the end of the README file is the version of the different libraries of Qiskit used. @jwoehr

from binpackingproblemnewapproach.

jwoehr avatar jwoehr commented on July 19, 2024
$ python
Python 3.8.9 (default, Aug  3 2021, 19:21:54) 
[Clang 13.0.0 (clang-1300.0.29.3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from qiskit import __qiskit_version__
>>> print(__qiskit_version__)
/Users/jwoehr/work/Qiskit/qrel_env/lib/python3.8/site-packages/qiskit/aqua/__init__.py:86: DeprecationWarning: The package qiskit.aqua is deprecated. It was moved/refactored to qiskit-terra For more information see <https://github.com/Qiskit/qiskit-aqua/blob/main/README.md#migration-guide>
  warn_package('aqua', 'qiskit-terra')
{'qiskit-terra': '0.18.3', 'qiskit-aer': '0.9.1', 'qiskit-ignis': '0.6.0', 'qiskit-ibmq-provider': '0.18.0', 'qiskit-aqua': '0.9.5', 'qiskit': '0.32.0', 'qiskit-nature': None, 'qiskit-finance': None, 'qiskit-optimization': '0.2.3', 'qiskit-machine-learning': '0.2.1'}

from binpackingproblemnewapproach.

alejomonbar avatar alejomonbar commented on July 19, 2024

Oh, I see. I have the "qiskit-optimization" version '0.3.0'. Did you try uninstalling and reinstalling the Qiskit package? @jwoehr

from binpackingproblemnewapproach.

alejomonbar avatar alejomonbar commented on July 19, 2024

Better if you try this one pip install qiskit-optimization

from binpackingproblemnewapproach.

jwoehr avatar jwoehr commented on July 19, 2024

I uninstalled qiskit-optimization then did this:

$ pip install qiskit-optimization
...
Successfully installed qiskit-optimization-0.2.3

Are you installing qiskit-optimization by building from main branch of a checkout?

from binpackingproblemnewapproach.

alejomonbar avatar alejomonbar commented on July 19, 2024

Yes, I'm using the latest version because I'm doing some contributions to the Qiskit optimization library. But, you should be able of executing those libraries with qiskit_optimization version 0.2.3. I tried it using the IBM Quantum lab which has version 0.2.3 and it works. A suggestion is to use directly the IBM quantum Lab to execute the notebook or maybe you have to restart your kernel. @jwoehr

from binpackingproblemnewapproach.

Related Issues (1)

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.