Erik Bray avatar Erik Bray committed 1c4a292

sqare -> square

Comments (0)

Files changed (1)

docs/notebooks/demo.ipynb

       "\n",
       "One issue that I did not mention yet is the issue of order of operations.  In addition to the set of available operator symbols being fixed in Python, the order of operations for those symbols is also fixed--hard-coded in the language.  For example, in an expression like `a * b + c`, the `*` operation is always evaluated before the `+`.  With the syntax I have adopted for multiplication and tensor products, an expression like `A * B|C` *should* be grouped like $ A \\otimes (BC) $ and *not* like $ (A \\otimes B)C $.  The good news is that we can infer the intended order of operations by the dimensions of the operands in such expression.  If $ B $ and $ C $ are the same dimension then is most likely `A * (B|C)` is intended rather than `(A * B)|C` which would be invalid.  Even if Python uses the wrong order of evaluation, PyQC can circumvent this through its underlying expression tree. \n",
       "\n",
-      "There is also a minor issue with the LaTeX display of superpositions, in that the normalization factor is always written with a square root symbol, even when the number of states is sqare.  For example:"
+      "There is also a minor issue with the LaTeX display of superpositions, in that the normalization factor is always written with a square root symbol, even when the number of states is square.  For example:"
      ]
     },
     {
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.