Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Commit 1c5697d

Browse files
authored
Add links to new tutorials to the older ones (#637)
Also fixes a typo in VisualizationTools tutorial.
1 parent cdd84db commit 1c5697d

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

GroversAlgorithm/GroversAlgorithm.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"\n",
1818
"*Reading material:*\n",
1919
"\n",
20+
"* [The Oracles tutorial](../Oracles/Oracles.ipynb) is an introduction into quantum oracles.\n",
2021
"* [This Microsoft Learn module](https://docs.microsoft.com/learn/modules/solve-graph-coloring-problems-grovers-search/) offers a different, visual explanation of Grover's algorithm.\n",
2122
"* The tasks follow the explanation from *Quantum Computation and Quantum Information* by Nielsen and Chuang.\n",
2223
" In the 10th anniversary edition, this is section 6.1.2 on pages 248-251.\n",

Measurements/Measurements.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
"* single-qubit measurements,\n",
1313
"* discriminating orthogonal and nonorthogonal states.\n",
1414
"\n",
15+
"A detailed introduction into single-qubit measurements work can be found in [this tutorial](../tutorials/SingleQubitSystemMeasurements/SingleQubitSystemMeasurements.ipynb).\n",
16+
"\n",
1517
"Each task is wrapped in one operation preceded by the description of the task.\n",
1618
"Your goal is to fill in the blank (marked with `// ...` comments)\n",
1719
"with some Q# code that solves the task. To verify your answer, run the cell using Ctrl+Enter (⌘+Enter on macOS).\n",
@@ -719,8 +721,7 @@
719721
"\n",
720722
"You are never allowed to give an incorrect answer. Your solution will be called multiple times, with one of the states picked with equal probability every time.\n",
721723
"\n",
722-
"The state of the qubit at the end of the operation does not matter. ",
723-
"\n",
724+
"The state of the qubit at the end of the operation does not matter. \n",
724725
"<br/>\n",
725726
"<details>\n",
726727
" <summary><b>Need a hint? Click here</b></summary>\n",
@@ -759,7 +760,7 @@
759760
"file_extension": ".qs",
760761
"mimetype": "text/x-qsharp",
761762
"name": "qsharp",
762-
"version": "0.10"
763+
"version": "0.14"
763764
}
764765
},
765766
"nbformat": 4,

tutorials/ExploringDeutschJozsaAlgorithm/DeutschJozsaAlgorithmTutorial.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"\n",
1111
"This tutorial will:\n",
1212
"* introduce you to the problem solved by the Deutsch–Jozsa algorithm and walk you through the classical solution to it,\n",
13-
"* give you a brief introduction to quantum oracles,\n",
13+
"* give you a brief introduction to quantum oracles (for a more detailed introduction, see the [Oracles tutorial](../Oracles/Oracles.ipynb)),\n",
1414
"* describe the idea behind the Deutsch–Jozsa algorithm and walk you through the math for it,\n",
1515
"* teach you how to implement the algorithm in the Q# programming language,\n",
1616
"* and finally help you to run your implementation of the algorithm on several quantum oracles to see for yourself how the algorithm works!\n",

tutorials/MultiQubitGates/MultiQubitGates.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
"As a reminder, single-qubit gates are represented by $2\\times2$ [unitary matrices](../LinearAlgebra/LinearAlgebra.ipynb#Unitary-Matrices). \n",
2727
"The effect of a gate applied to a qubit can be calculated by multiplying the corresponding matrix by the state vector of the qubit to get the resulting state vector. \n",
2828
"\n",
29-
"Multi-qubit gates are represented by $2^N\\times2^N$ matrices, where $N$ is the number of qubits the gate operates on. To apply this gate, you multiply the matrix by the state vector of the $N$-qubit quantum system."
29+
"Multi-qubit gates are represented by $2^N\\times2^N$ matrices, where $N$ is the number of qubits the gate operates on. To apply this gate, you multiply the matrix by the state vector of the $N$-qubit quantum system.\n",
30+
"\n",
31+
"> In Q# you can use the `DumpOperation` command to see the matrix that an operation implements. You can find more info and a demo in [this tutorial](../VisualizationTools/VisualizationTools.ipynb#Display-the-matrix-implemented-by-the-operation)."
3032
]
3133
},
3234
{

tutorials/MultiQubitSystems/MultiQubitSystems.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,8 @@
265265
"\n",
266266
"These demos use the function `DumpMachine` to print the state of the quantum simulator. \n",
267267
"If you aren't familiar with the output of this function for single qubits, you should revisit the tutorial on [the concept of a qubit](../Qubit/Qubit.ipynb#Demo:-Examining-Qubit-States-in-Q#). \n",
268-
"When printing the state of multi-qubit systems, this function outputs the same information for each multi-qubit basis state."
268+
"When printing the state of multi-qubit systems, this function outputs the same information for each multi-qubit basis state.\n",
269+
"[This tutorial](../VisualizationTools/VisualizationTools.ipynb#Demo:-DumpMachine-for-multi-qubit-systems) explains how `DumpMachine` works for multiple qubits in more detail. "
269270
]
270271
},
271272
{

tutorials/VisualizationTools/VisualizationTools.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
" Message(\"Uneven superposition state:\");\n",
174174
" DumpMachine();\n",
175175
"\n",
176-
" // This line returns the qubit to state |0⟩ before releasing it.\n",
176+
" // This line returns the qubits to state |0⟩ before releasing them.\n",
177177
" ResetAll(qs);\n",
178178
"}"
179179
]

0 commit comments

Comments
 (0)