Skip to content

Commit

Permalink
qoqo 1.0.0 (#24)
Browse files Browse the repository at this point in the history
* Reading through documentation

* Resolved changes

* Updated dependencies

* Fixed typos in the documentation

* Last parst of docu fixed

* Updated requirements file

* Changed transparent background in images and fixed typos

* Changed order of examples and added instructions for installation

* Fixed tests

* Fixed ci

* Requested change from qoqo

* Updating to qoqo 1.0 and qoqo-quest 0.8 and qoqo-mock 0.5

* Fixed dependency

* Fixed typo and added correct versions in notebooks
  • Loading branch information
kbarkhqs authored Aug 23, 2022
1 parent f48f9fa commit a6c3843
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 31 deletions.
6 changes: 3 additions & 3 deletions qoqo/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
qoqo>=1.0.0b2
qoqo_quest>=0.7.2
qoqo_mock>=0.4
qoqo>=1.0.0
qoqo_quest>=0.7.4
qoqo_mock>=0.5
qoqo_calculator_pyo3>=1.0.0
numpy
scipy
Expand Down
28 changes: 14 additions & 14 deletions roqoqo/notebooks/1_Intro_to_roqoqo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"metadata": {},
"outputs": [],
"source": [
":dep roqoqo = \"1.0.0-alpha.5\"\n",
":dep roqoqo = \"1.0.0\"\n",
"extern crate roqoqo;\n",
"use roqoqo::{Circuit, operations::*};\n",
"use std::collections::HashSet;\n",
Expand Down Expand Up @@ -122,8 +122,8 @@
"metadata": {},
"outputs": [],
"source": [
":dep roqoqo = \"1.0.0-beta.2\"\n",
":dep roqoqo-quest = \"0.7.0\"\n",
":dep roqoqo = \"1.0.0\"\n",
":dep roqoqo-quest = \"0.7.4\"\n",
"\n",
"extern crate roqoqo;\n",
"extern crate roqoqo_quest;\n",
Expand Down Expand Up @@ -175,8 +175,8 @@
"metadata": {},
"outputs": [],
"source": [
":dep roqoqo = \"1.0.0-beta.2\"\n",
":dep roqoqo-quest = \"0.7.2\"\n",
":dep roqoqo = \"1.0.0\"\n",
":dep roqoqo-quest = \"0.7.4\"\n",
"\n",
"extern crate roqoqo;\n",
"extern crate roqoqo_quest;\n",
Expand Down Expand Up @@ -236,8 +236,8 @@
"metadata": {},
"outputs": [],
"source": [
":dep roqoqo = \"1.0.0-beta.2\"\n",
":dep roqoqo-quest = \"0.7.2\"\n",
":dep roqoqo = \"1.0.0\"\n",
":dep roqoqo-quest = \"0.7.4\"\n",
"\n",
"extern crate roqoqo;\n",
"extern crate roqoqo_quest;\n",
Expand Down Expand Up @@ -304,8 +304,8 @@
"metadata": {},
"outputs": [],
"source": [
":dep roqoqo = \"1.0.0-beta.2\"\n",
":dep roqoqo-quest = \"0.7.2\"\n",
":dep roqoqo = \"1.0.0\"\n",
":dep roqoqo-quest = \"0.7.4\"\n",
"\n",
"extern crate roqoqo;\n",
"extern crate roqoqo_quest;\n",
Expand Down Expand Up @@ -383,7 +383,7 @@
"metadata": {},
"outputs": [],
"source": [
":dep roqoqo = \"1.0.0-beta.2\"\n",
":dep roqoqo = \"1.0.0\"\n",
":dep qoqo_calculator = \"1.0.0\"\n",
"\n",
"extern crate roqoqo;\n",
Expand Down Expand Up @@ -417,8 +417,8 @@
"metadata": {},
"outputs": [],
"source": [
":dep roqoqo = \"1.0.0-beta.2\"\n",
":dep roqoqo-quest = \"0.7.2\"\n",
":dep roqoqo = \"1.0.0\"\n",
":dep roqoqo-quest = \"0.7.4\"\n",
":dep qoqo_calculator = \"1.0.0\"\n",
"\n",
"extern crate roqoqo;\n",
Expand Down Expand Up @@ -477,8 +477,8 @@
"outputs": [],
"source": [
":dep rand = \"0.8.4\"\n",
":dep roqoqo = \"1.0.0-beta.2\"\n",
":dep roqoqo-mock = \"0.5.0\"\n",
":dep roqoqo = \"1.0.0\"\n",
":dep roqoqo-mock = \"0.5.1\"\n",
"\n",
"extern crate roqoqo;\n",
"extern crate roqoqo_mock;\n",
Expand Down
4 changes: 2 additions & 2 deletions roqoqo/notebooks/2_Measurement_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"metadata": {},
"outputs": [],
"source": [
":dep roqoqo = \"1.0.0-beta.2\"\n",
":dep roqoqo-quest = \"0.7.2\"\n",
":dep roqoqo = \"1.0.0\"\n",
":dep roqoqo-quest = \"0.7.4\"\n",
":dep num-complex = \"0.4\""
]
},
Expand Down
4 changes: 2 additions & 2 deletions roqoqo/notebooks/3_Teleportation_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"metadata": {},
"outputs": [],
"source": [
":dep roqoqo = \"1.0.0-beta.2\"\n",
":dep roqoqo-quest = \"0.7.2\"\n",
":dep roqoqo = \"1.0.0\"\n",
":dep roqoqo-quest = \"0.7.4\"\n",
":dep num-complex = \"0.4\"\n",
":dep qoqo_calculator = \"1.0.0\""
]
Expand Down
4 changes: 2 additions & 2 deletions roqoqo/standalone/1_Intro_to_roqoqo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "0.1.1"
edition = "2021"

[dependencies]
roqoqo = {version="1.0.0-beta.2"}
roqoqo-quest = {version="0.7"}
roqoqo = {version="1.0.0"}
roqoqo-quest = {version="0.7.4"}
num-complex = "0.4"
qoqo_calculator = "1.0.0"
ndarray = { version = "0.15" }
Expand Down
4 changes: 2 additions & 2 deletions roqoqo/standalone/2_Measurement_example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
roqoqo = {version="1.0.0-beta.2"}
roqoqo-quest = {version="0.7"}
roqoqo = {version="1.0.0"}
roqoqo-quest = {version="0.7.4"}
num-complex = "0.4"
qoqo_calculator = "1.0.0"
nalgebra = "0.31"
Expand Down
4 changes: 2 additions & 2 deletions roqoqo/standalone/3_Teleportation_example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
roqoqo = {version="1.0.0-beta.2"}
roqoqo-quest = {version="0.7"}
roqoqo = {version="1.0.0"}
roqoqo-quest = {version="0.7.4"}
num-complex = "0.4"
qoqo_calculator = "1.0.0"
nalgebra = "0.31"
4 changes: 2 additions & 2 deletions roqoqo/standalone/4_Half_adder_example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "0.1.0"
edition = "2021"

[dependencies]
roqoqo = {version="1.0.0-beta.2"}
roqoqo-quest = {version="0.7"}
roqoqo = {version="1.0.0"}
roqoqo-quest = {version="0.7.4"}
num-complex = "0.4"
qoqo_calculator = "1.0.0"
ndarray = { version = "0.15" }
Expand Down
4 changes: 2 additions & 2 deletions roqoqo/standalone/5_Deutsch-Josza_example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "0.1.0"
edition = "2021"

[dependencies]
roqoqo = {version="1.0.0-beta.2"}
roqoqo-quest = {version="0.7"}
roqoqo = {version="1.0.0"}
roqoqo-quest = {version="0.7.4"}
num-complex = "0.4"
qoqo_calculator = "1.0.0"
ndarray = { version = "0.15" }
Expand Down

0 comments on commit a6c3843

Please sign in to comment.