aboutsummaryrefslogtreecommitdiff
path: root/examples/simple_gates
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2024-10-12 17:10:12 +0200
committerhachem <im@hachem.wtf>2024-10-12 17:10:12 +0200
commit64d6a8c70b8d61a22136fd10f0c61ec349315694 (patch)
tree7eace7d8b31ea4c44617cf7f599f385aa69dc26a /examples/simple_gates
parent483e9e6ce9fbb1440992e916ec743ce0eff0ab5a (diff)
Refactor 1: Numeric Traits
Diffstat (limited to 'examples/simple_gates')
-rw-r--r--examples/simple_gates/Cargo.toml8
-rw-r--r--examples/simple_gates/src/main.rs10
2 files changed, 0 insertions, 18 deletions
diff --git a/examples/simple_gates/Cargo.toml b/examples/simple_gates/Cargo.toml
deleted file mode 100644
index 503d31c..0000000
--- a/examples/simple_gates/Cargo.toml
+++ /dev/null
@@ -1,8 +0,0 @@
-[package]
-name = "simple_gates"
-version = "0.1.0"
-edition = "2021"
-
-[dependencies]
-libpsi-core = { path = "../../libpsi-core" }
-libpsi-visualizer = { path = "../../libpsi-visualizer" } \ No newline at end of file
diff --git a/examples/simple_gates/src/main.rs b/examples/simple_gates/src/main.rs
deleted file mode 100644
index f48c935..0000000
--- a/examples/simple_gates/src/main.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-use libpsi_core::*;
-
-fn main() {
- let mut circuit = QuantumCircuit::new(2, 2);
- circuit.apply(&gates::HADAMARD, &[], 0);
- circuit.apply(&gates::CNOT, &[0], 1);
-
- let runtime = BasicRT::new(&circuit);
- runtime.execute(1);
-}