aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2024-09-22 10:11:02 +0200
committerhachem <im@hachem.wtf>2024-09-22 10:11:02 +0200
commit53287a755cc8bcef8b4c1324f1ed1f34224e15c4 (patch)
tree145974cff606e06c48dfe1ca2476f21d0ce5a1d2
parenta84b6394209e37620e45155a25b3755b38ba8515 (diff)
rename project to psi
-rw-r--r--Cargo.toml5
-rw-r--r--libpsi-tester/Cargo.toml (renamed from mu/Cargo.toml)4
-rw-r--r--libpsi-tester/src/main.rs (renamed from mu/src/main.rs)2
-rw-r--r--libpsi/Cargo.toml (renamed from libmu/Cargo.toml)2
-rw-r--r--libpsi/src/core/component.rs (renamed from libmu/src/core/component.rs)0
-rw-r--r--libpsi/src/core/mod.rs (renamed from libmu/src/core/mod.rs)0
-rw-r--r--libpsi/src/lib.rs (renamed from libmu/src/lib.rs)0
-rw-r--r--libpsi/src/maths/complex.rs (renamed from libmu/src/maths/complex.rs)0
-rw-r--r--libpsi/src/maths/matrix.rs (renamed from libmu/src/maths/matrix.rs)0
-rw-r--r--libpsi/src/maths/mod.rs (renamed from libmu/src/maths/mod.rs)0
-rw-r--r--libpsi/src/maths/numeric_types.rs (renamed from libmu/src/maths/numeric_types.rs)0
-rw-r--r--libpsi/src/maths/vector.rs (renamed from libmu/src/maths/vector.rs)0
12 files changed, 7 insertions, 6 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 26ca50d..d82fbd0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,5 +1,6 @@
[workspace]
+resolver = "2"
members = [
- "libmu",
- "mu"
+ "libpsi",
+ "libpsi-tester"
] \ No newline at end of file
diff --git a/mu/Cargo.toml b/libpsi-tester/Cargo.toml
index 457443d..6e6ae37 100644
--- a/mu/Cargo.toml
+++ b/libpsi-tester/Cargo.toml
@@ -1,7 +1,7 @@
[package]
-name = "mu"
+name = "libpsi-tester"
version = "0.1.0"
edition = "2021"
[dependencies]
-libmu = { path = "../libmu" } \ No newline at end of file
+libpsi = { path = "../libpsi" } \ No newline at end of file
diff --git a/mu/src/main.rs b/libpsi-tester/src/main.rs
index 7bbc3e7..4aaa92d 100644
--- a/mu/src/main.rs
+++ b/libpsi-tester/src/main.rs
@@ -1,4 +1,4 @@
-use libmu::*;
+use libpsi::*;
fn main() {
let bit_1 = qubit![(1.0, 2.0), (1.0, 2.0)];
diff --git a/libmu/Cargo.toml b/libpsi/Cargo.toml
index b495ce6..599537f 100644
--- a/libmu/Cargo.toml
+++ b/libpsi/Cargo.toml
@@ -1,5 +1,5 @@
[package]
-name = "libmu"
+name = "libpsi"
version = "0.1.0"
edition = "2021"
diff --git a/libmu/src/core/component.rs b/libpsi/src/core/component.rs
index bd18b52..bd18b52 100644
--- a/libmu/src/core/component.rs
+++ b/libpsi/src/core/component.rs
diff --git a/libmu/src/core/mod.rs b/libpsi/src/core/mod.rs
index 9cea807..9cea807 100644
--- a/libmu/src/core/mod.rs
+++ b/libpsi/src/core/mod.rs
diff --git a/libmu/src/lib.rs b/libpsi/src/lib.rs
index 9cbd644..9cbd644 100644
--- a/libmu/src/lib.rs
+++ b/libpsi/src/lib.rs
diff --git a/libmu/src/maths/complex.rs b/libpsi/src/maths/complex.rs
index 28a3121..28a3121 100644
--- a/libmu/src/maths/complex.rs
+++ b/libpsi/src/maths/complex.rs
diff --git a/libmu/src/maths/matrix.rs b/libpsi/src/maths/matrix.rs
index 388f858..388f858 100644
--- a/libmu/src/maths/matrix.rs
+++ b/libpsi/src/maths/matrix.rs
diff --git a/libmu/src/maths/mod.rs b/libpsi/src/maths/mod.rs
index 734cfb4..734cfb4 100644
--- a/libmu/src/maths/mod.rs
+++ b/libpsi/src/maths/mod.rs
diff --git a/libmu/src/maths/numeric_types.rs b/libpsi/src/maths/numeric_types.rs
index f1355de..f1355de 100644
--- a/libmu/src/maths/numeric_types.rs
+++ b/libpsi/src/maths/numeric_types.rs
diff --git a/libmu/src/maths/vector.rs b/libpsi/src/maths/vector.rs
index 0c13e4c..0c13e4c 100644
--- a/libmu/src/maths/vector.rs
+++ b/libpsi/src/maths/vector.rs