Welcome to Qiskit Discussions! - Start Here #1
Replies: 7 comments 10 replies
-
Hi |
Beta Was this translation helpful? Give feedback.
-
Good morning, Thankyou |
Beta Was this translation helpful? Give feedback.
-
Hi guys, Thanks for all of your great work. I wanted to point out something that I see might be an inconsistency in the Qiskit documentation. "Returns iterator of the successors of a node as DAGOpNodes and DAGOutNodes." This function in practice returns the direct successors to the node in question (i.e. nodes that are a single out-edge away). However, for the class DAGDependency, there is also a method called "successors" which is defined as: "Successors id of a given node as sorted list." This function, while sounding analogous to the one for DAGCircuit, actually returns a sorted list of ALL successors for the given node, no matter how many out-edges away it might be. The analog can be said for the "predecessors" functions of the two classes. This is an issue since it is unclear which nodes are either iterated on or returned in a list: All successors/predecessors or just direct ones. I think an easy/elegant solution would be to add a few words in the documentation of the functions stating specifically how many layers of ancestors/predecessors they return. I am pretty new to Github and not sure how to add labels, but would label this under documentation =] Thanks again! ~Jason Ludmir |
Beta Was this translation helpful? Give feedback.
-
from qiskit import QuantumCircuit, Aer, transpile Initialize Sentiment Analyzersia = SentimentIntensityAnalyzer() About Me Quantum Functiondef AboutMeQuantumFunction(): i need some help understanding what i made my flask works vary well in chat gpt but out side of that i need to know what im doing and i dont see the need to keep it to my self the basic flask is in my repo i have a completed versions and am trying to put it together comes with a treasure trove of info in side |
Beta Was this translation helpful? Give feedback.
-
Hi, I am just new to qiskit and have been trying to run it in Jupyter Notebook. I have istalled qiskit using pip. But while I am trying to import Quantum Circuit it is showing me the following error: ImportError: cannot import name 'Self' from 'typing_extensions' (/Users/arindamsutradhar/anaconda3/lib/python3.8/site-packages/typing_extensions.py) and after this import failure, if I try again to run it, it is showing me the following attribute error. I would really appreciate any help or solution anybody can provide. AttributeError Traceback (most recent call last) ~/anaconda3/lib/python3.8/site-packages/qiskit/init.py in AttributeError: partially initialized module 'qiskit' has no attribute '_accelerate' (most likely due to a circular import) |
Beta Was this translation helpful? Give feedback.
-
The Jupyter laboratory works correctly, but the Qistik 1.1 code seems totally erroneous and inconsistent, as if there had been malicious intent. Better to wait 1 more year for these codes to be clear. For the moment I'm going to uninstall Qiskit, which is a shame, because I wanted to compare the measurements to an alternative theory to Shor before I possibly die. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
🚨 This space is for productive discussions relating to the development of Qiskit, please do not use this space to ask implementation questions, instead refer to Stack Exchange and the Qiskit slack for this. 🚨
Get Started
Before opening a new discussion, check if something similar has already been discussed before and avoid duplication where possible! If your comment/query has not already been opened feel free to open your own.
When you open a discussion please choose the appropriate category and it really helps to use labels as well!
Remember to comment and upvote 👍 on existing discussions too!
Discussion Categories
You can open a discussion in any of the following areas:
💡 Ideas
🧱 Projects
🛣 Releases and Roadmap
👾 DemoDay
📚 Documentation
💬 General Feedback
Labels
Once you've chosen a category and opened a discussion it really helps to add one of the following labels so that others can easily see which area of the SDK you are referring to:
Beta Was this translation helpful? Give feedback.
All reactions