Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

build site #1566

Merged
merged 41 commits into from Apr 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
7bce201
updated shebang
paniash Jun 8, 2021
6eb4ccc
changed for `deploy.sh`
paniash Jun 9, 2021
1bfe1e2
Merge branch 'master' into shebang
paniash Jun 11, 2021
fbac3ed
Merge branch 'master' into shebang
paniash Jun 13, 2021
c6046b1
Merge branch 'master' into shebang
frankharkins Jun 21, 2021
e687562
fixed issue #1527 by updating the chapter
dryicecube Nov 24, 2022
00804b8
fixed issue #1527 by updating the chapter
dryicecube Nov 24, 2022
771d74a
Bump nokogiri from 1.13.8 to 1.13.9
dependabot[bot] Nov 29, 2022
cf54a18
Merge pull request #1149 from paniash/shebang
frankharkins Nov 29, 2022
1c8bc15
refresh outputs
frankharkins Nov 29, 2022
c16a532
Merge branch 'main' into fix#1527
frankharkins Nov 29, 2022
2e98ab2
Merge pull request #1528 from dryicecube/fix#1527
frankharkins Nov 29, 2022
7787075
Merge pull request #1536 from qiskit-community/dependabot/bundler/nok…
frankharkins Nov 30, 2022
6bd4ead
save_statevector() error fix
RahulGopan0 Dec 6, 2022
6ec0648
Bump nokogiri from 1.13.9 to 1.13.10
dependabot[bot] Dec 8, 2022
a66f628
Fix code & rerun notebook
frankharkins Dec 8, 2022
7e13d7c
Merge pull request #1540 from qiskit-community/fh-update-cqp
frankharkins Dec 9, 2022
4176380
Merge branch 'main' into patch-2
RahulGopan0 Dec 9, 2022
b328c4d
Update content/ch-states/representing-qubit-states.ipynb
RahulGopan0 Dec 13, 2022
f25a72d
Merge pull request #1538 from RahulGopan0/patch-2
frankharkins Dec 13, 2022
18fa9cc
Merge pull request #1539 from qiskit-community/dependabot/bundler/nok…
frankharkins Dec 14, 2022
117675a
Article change for grammatical correctness: changed 'an' to 'a'.
davisclarke Dec 24, 2022
85ba91f
Merge pull request #1543 from davisclarke/patch-1
frankharkins Jan 4, 2023
98fe376
fixed typos
paniash Jan 17, 2023
e16b2cd
Fix typos in exercise function docstring
william-cutler Jan 24, 2023
7ed74c4
[3.9] Fix qft function
lucasvanmol Feb 17, 2023
c9bed9c
Fix grammar typo
vkabadzhova Feb 18, 2023
35ff433
Fix typo
vkabadzhova Feb 20, 2023
25e95b0
Fix a typo
vkabadzhova Feb 20, 2023
86164d3
Merge pull request #1553 from vkabadzhova/patch-3
frankharkins Feb 24, 2023
69c5368
Merge pull request #1552 from vkabadzhova/patch-2
frankharkins Feb 24, 2023
37e6561
Merge pull request #1551 from vkabadzhova/patch-1
frankharkins Feb 24, 2023
afd4880
Merge pull request #1550 from lucasvanmol/patch-1
frankharkins Feb 24, 2023
1068eb7
Merge pull request #1546 from paniash/main
frankharkins Mar 2, 2023
272a3f9
Merge pull request #1548 from william-cutler/main
frankharkins Mar 2, 2023
13ae2c0
fixes_composing_problem_issue #1562
divshacker Apr 1, 2023
b830110
Re-run & update version info
frankharkins Apr 5, 2023
fe36fd0
Merge pull request #1564 from qiskit-community/fh-update-dj
frankharkins Apr 5, 2023
84f7944
Update qiskit-textbook.bib
diemilio Apr 5, 2023
e80003d
Update authors in preface.ipynb
frankharkins Apr 5, 2023
a8c5e4a
Merge pull request #1565 from diemilio/patch-1
frankharkins Apr 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions Gemfile.lock
Expand Up @@ -249,7 +249,7 @@ GEM
multipart-post (2.1.1)
namae (1.0.1)
nenv (0.3.0)
nokogiri (1.13.8)
nokogiri (1.13.10)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
notiffany (0.1.3)
Expand All @@ -263,7 +263,7 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.9.0)
public_suffix (3.1.1)
racc (1.6.0)
racc (1.6.1)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
ffi (~> 1.0)
Expand Down
2 changes: 1 addition & 1 deletion build.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

user=delapuente
org=qiskit-community
Expand Down
9,801 changes: 4,807 additions & 4,994 deletions content/ch-algorithms/deutsch-jozsa.ipynb

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions content/ch-algorithms/quantum-counting.ipynb
Expand Up @@ -249,7 +249,7 @@
"source": [
"def qft(n):\n",
" \"\"\"Creates an n-qubit QFT circuit\"\"\"\n",
" circuit = QuantumCircuit(4)\n",
" circuit = QuantumCircuit(n)\n",
" def swap_registers(circuit, n):\n",
" for qubit in range(n//2):\n",
" circuit.swap(qubit, n-qubit-1)\n",
Expand Down Expand Up @@ -3288,7 +3288,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"We can see two values stand out, having a much higher probability of measurement than the rest. These two values correspond to $e^{i\\theta}$ and $e^{-i\\theta}$, but we can’t see the number of solutions yet. We need to little more processing to get this information, so first let us get our output into something we can work with (an `int`).\n",
"We can see two values stand out, having a much higher probability of measurement than the rest. These two values correspond to $e^{i\\theta}$ and $e^{-i\\theta}$, but we can’t see the number of solutions yet. We need to do a little more processing to get this information, so first let us get our output into something we can work with (an `int`).\n",
"\n",
"We will get the string of the most probable result from our output data:"
]
Expand Down Expand Up @@ -3366,7 +3366,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"You may remember that we can get the angle $\\theta/2$ can from the inner product of $|s\\rangle$ and $|s’\\rangle$:\n",
"You may remember that we can get the angle $\\theta/2$ from the inner product of $|s\\rangle$ and $|s’\\rangle$:\n",
"\n",
"![image3](images/quantum_counting3.svg)\n",
"\n",
Expand Down
20 changes: 10 additions & 10 deletions content/ch-labs/Lab01_QuantumCircuits.ipynb
Expand Up @@ -744,8 +744,8 @@
" \"\"\"An XOR gate.\n",
" \n",
" Parameters:\n",
" inpt1 (str): Input 1, encoded in qubit 0.\n",
" inpt2 (str): Input 2, encoded in qubit 1.\n",
" inp1 (str): Input 1, encoded in qubit 0.\n",
" inp2 (str): Input 2, encoded in qubit 1.\n",
" \n",
" Returns:\n",
" QuantumCircuit: Output XOR circuit.\n",
Expand Down Expand Up @@ -822,11 +822,11 @@
" \"\"\"An AND gate.\n",
" \n",
" Parameters:\n",
" inpt1 (str): Input 1, encoded in qubit 0.\n",
" inpt2 (str): Input 2, encoded in qubit 1.\n",
" inp1 (str): Input 1, encoded in qubit 0.\n",
" inp2 (str): Input 2, encoded in qubit 1.\n",
" \n",
" Returns:\n",
" QuantumCircuit: Output XOR circuit.\n",
" QuantumCircuit: Output AND circuit.\n",
" str: Output value measured from qubit 2.\n",
" \"\"\"\n",
" qc = QuantumCircuit(3, 1) \n",
Expand Down Expand Up @@ -895,8 +895,8 @@
" \"\"\"An NAND gate.\n",
" \n",
" Parameters:\n",
" inpt1 (str): Input 1, encoded in qubit 0.\n",
" inpt2 (str): Input 2, encoded in qubit 1.\n",
" inp1 (str): Input 1, encoded in qubit 0.\n",
" inp2 (str): Input 2, encoded in qubit 1.\n",
" \n",
" Returns:\n",
" QuantumCircuit: Output NAND circuit.\n",
Expand Down Expand Up @@ -968,11 +968,11 @@
" \"\"\"An OR gate.\n",
" \n",
" Parameters:\n",
" inpt1 (str): Input 1, encoded in qubit 0.\n",
" inpt2 (str): Input 2, encoded in qubit 1.\n",
" inp1 (str): Input 1, encoded in qubit 0.\n",
" inp2 (str): Input 2, encoded in qubit 1.\n",
" \n",
" Returns:\n",
" QuantumCircuit: Output XOR circuit.\n",
" QuantumCircuit: Output OR circuit.\n",
" str: Output value measured from qubit 2.\n",
" \"\"\"\n",
"\n",
Expand Down
1,965 changes: 234 additions & 1,731 deletions content/ch-quantum-hardware/calibrating-qubits-pulse.ipynb

Large diffs are not rendered by default.