Comments (2)
Hi,
I agree with you that the standard notation is the best. This can be done once we swap the order of the qubits, from left to right instead of the current from right to left. I have noticed this in this tutorial:
https://nbviewer.jupyter.org/github/QISKit/qiskit-tutorial/blob/master/1_introduction/quantum_gates_and_linear_algebra.ipynb
In the hereafter, following the standard in the quantum community we treat the order of the qubits from left to right, namely, the least significant bit (LSB) is the left-most qubit. Thus, the tensor product of q0, q1, and q2 of the three qubits is defined as q0⊗q1⊗q2
.
Notice that the IBM Quantum experience uses order the qubits in the opposite way (the tensor product is q2⊗q1⊗q0
). Thus to get the standard order, we must store the measurement of the first qubit to the last bit, the second qubit to the second last bit, and so on.
from qiskit-tutorials.
@dtchang was discuss many times between us. Either you have to give up on the standard bits order, or the standard tensor order of gates using by quantum text books. Since the computer science community is much larger than quantum we decided to go with the standard bit order and have 0001 be qubit 0 in the excited state. It make associating the classical outcome with the bits simpler. The tutorials/user guides need more work to describe this.
from qiskit-tutorials.
Related Issues (20)
- Tutorial missing dependecies HOT 3
- Add a State Fidelities tutorial HOT 1
- AttributeError: 'Estimator' object has no attribute 'draw' HOT 2
- deploy qiskit-tutorials in ecosystem HOT 1
- Broken thumbnail for Grover tutorial HOT 3
- Refer to Trotter Evolution in the video "Time Evolution with Qiskit Nature & Opflow" HOT 2
- Refer to the problem of the tutorial "Max-Cut and Traveling Salesman Problem" HOT 4
- Add a tutorial about Quantum Imaginary Time Evolution HOT 16
- Algorithms tutorials 02_, 03_ and 04_ need amending to not use deprecated code. HOT 5
- For the problem in Qiskit Youtube Video "Time Evolution with Qiskit Nature & Opflow" HOT 2
- HHL algorithm section HOT 1
- Quantum circuit generated by Traveling Salesman Problem raise an error: "Image size of 2228x191753 pixels is too large" HOT 2
- Tutorial on using Qiskit's qiskit.algorithms.time_evolvers.variational package for variational quantum imaginary and real-time evolution based on McLachlan's variational principle HOT 2
- ParameterExpression with unbound parameters ({Parameter($\gammma$)}) cannot be cast to a float HOT 4
- Minimum Eigen Optimizer Solve Function "list index out of range" HOT 4
- Tutorial moving status HOT 3
- Typo error in QI_MIGRATION.PO source string
- Add a tutorial about Quantum Imaginary Time Evolution
- create a tutorial to demonstrate different entangled states HOT 2
- VarQITE module of Qiskit runs for more than 24000 minutes HOT 5
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 qiskit-tutorials.