Comments (3)
As per tutorial cell 15 warning assemble is deprecated in qiskit-aer >=0.9.0. Instead use
backend=Aer.get_backend("qasm_simulator") # You can change the simulator to other.
job=execute(qc_ha,backend=backend, shots=1024) # shots are optional
result=job.result()
counts=result.get_counts(qc_ha)
plot_histogram(counts)
Also your textbook link is not working replace it with textbook_link
from textbook.
Sorry I missed this. For some reason, the URL changed to https://learn.qiskit.org/course/ch-states/atoms-computation. As for the code, you can get it working by installing the package versions listed at the bottom of the page
!pip install qiskit-terra==0.18.2 \
qiskit-aer==0.9.0 \
qiskit-ignis==0.6.0 \
qiskit-ibmq-provider==0.16.0 \
qiskit-aqua==0.9.5 \
qiskit==0.30.0 \
qiskit-nature==0.2.1 \
qiskit-finance==0.2.1 \
qiskit-optimization==0.2.2 \
qiskit-machine-learning==0.2.1
from textbook.
The textbook is being superseded and as such this will not be fixed.
from textbook.
Related Issues (18)
- the saiba website appearance issue template link is dead
- Support installation for Linux / Windows HOT 18
- Use this repo as content for qiskit-community/qiskit-textbook HOT 2
- Use this repo as content for Qiskit/platypus HOT 1
- Aer.get_backend is not written correctly. HOT 1
- Broken Link HOT 2
- Improve documentation HOT 2
- Berstein-Vazirani: change "a" for "s" in 1.3 explanation HOT 2
- Explain how to cite the textbook HOT 3
- The AerSimulator is imported from incorrect package. HOT 3
- Join Qiskit Ecosystem
- Last circuit on Classical Computation on a Quantum Computer not displaying correctly HOT 1
- Superdense coding text removal HOT 1
- Tex error on HHL Algorithm page HOT 1
- TeX-error in QAOA-tutorial HOT 2
- [Output issue] Shor's algorithm lab HOT 2
- Textbook setup doesn't work on Windows HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from textbook.