From 53287a755cc8bcef8b4c1324f1ed1f34224e15c4 Mon Sep 17 00:00:00 2001 From: hachem Date: Sun, 22 Sep 2024 10:11:02 +0200 Subject: rename project to psi --- libpsi-tester/src/main.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 libpsi-tester/src/main.rs (limited to 'libpsi-tester/src/main.rs') diff --git a/libpsi-tester/src/main.rs b/libpsi-tester/src/main.rs new file mode 100644 index 0000000..4aaa92d --- /dev/null +++ b/libpsi-tester/src/main.rs @@ -0,0 +1,8 @@ +use libpsi::*; + +fn main() { + let bit_1 = qubit![(1.0, 2.0), (1.0, 2.0)]; + let bit_2 = qubit![(1.0, 2.0), (1.0, 2.0)]; + let register: QuantumRegister = quantum_register![bit_1, bit_2]; + println!("{}", register); +} -- cgit v1.3