Comments (1)
The common notation to denote rows and columns is the order in the product a×b rather than the letters themselves, denoting with the left integer the number of rows and with the right integer the number of columns, eg. a matrix 2×3 has 2 rows and 3 columns.
In Quantum Mechanics the standard convention is to denote states by column vectors of the dimension of the Hilbert space of the system. For example, in a qubit (where the Hilbert space has dimension 2) the state |1> is represented by the vector column vector (0,1)T, which is a matrix of size 2x1. That's why the notation introduces the vectors as n×1 matrices, where n usually is the dimension of the Hilbert space.
On the other hand, another convention in QM is that operators acts on the states from the left, transforming an initial state into another state that lives in the same Hilbert space or not. Typically, this transformation is represented by a matrix multiplication of a matrix of size m×n (where m is the dimension of the Hilbert space of the output state and n is the dimension of the Hilbert state of the initial state) and the matrix of size n×1 representing the initial state. The result of the multiplication is an m×1 vector that represents the transformed state. A good mnemotechnical rule to keep track of the dimensions in a matrix multiplication is that the internal indices must be the same and cancel each other and the final product is a matrix of the remaining dimensions, eg. (m×n)•(n×s)=(m×s). For more information on matrix multiplication: https://en.wikipedia.org/wiki/Matrix_multiplication
I guess that's the reason why the author chose that configuration of letters to design indices. Although it can be a bit weird for newcomers, it is very useful to keep track of the dimensions of each state.
from quantum-docs-pr.
Related Issues (20)
- Wrong Q# sequence in MeasureY HOT 2
- Troubles with using Length(Qubit[]) function in Jupyter Notebook HOT 2
- [Broken link] the quickstart-guide link needs to be fixed HOT 1
- No documentation available for "within/apply" statements. HOT 3
- There is no way to download the documents HOT 1
- Empty Tuple Code Sample in Entanglement Tutorial HOT 3
- Lenny-QC HOT 1
- `import qsharp` fails or takes too long time HOT 2
- Add a link to the Q# language design repo HOT 1
- Code sample for LocalRotationsLayer? HOT 2
- Add qsharp-language to repo list HOT 1
- Instructions for creating a new Q# project in VS Code are not clear HOT 1
- Z gate error HOT 4
- typo in PE without eigenstates HOT 4
- VS Code and VS Studio Icons/Titles are mixed up. HOT 1
- "This Page" feedback button directs to wrong repo HOT 7
- Examples from Q# Libraries API don't show up in docs HOT 2
- LaTeX formulas won't render in the PDF version HOT 1
- Link HOT 1
- IQ# magic commands don't have a list page HOT 7
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 quantum-docs-pr.