From 7e4c7b9dc5dbfb265b63a6a7dcaddab9e60de0f0 Mon Sep 17 00:00:00 2001 From: Cyberes Date: Fri, 15 Mar 2024 22:57:35 -0600 Subject: [PATCH] add code --- .gitignore | 2 ++ pyproject.toml | 17 +++++++++++++++++ src/quantum/__init__.py | 0 src/quantum/quantum.py | 3 +++ 4 files changed, 22 insertions(+) create mode 100644 pyproject.toml create mode 100644 src/quantum/__init__.py create mode 100644 src/quantum/quantum.py diff --git a/.gitignore b/.gitignore index 5d381cc..a25fca9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +.idea + # ---> Python # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..bf11885 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,17 @@ +[project] +name = "python-quantum" +version = "1.0" +authors = [ + { name = "Cyberes", email = "cyberes@evulid.cc" }, +] +description = "Bring quantum computing to Python!" +readme = "README.md" +requires-python = ">=3.8" +classifiers = [ + "Programming Language :: Python :: 3", + "Operating System :: OS Independent", +] + +[project.urls] +Homepage = "https://github.com/cyberes/python3-quantum" +Issues = "https://github.com/cyberes/python3-quantum/issues" \ No newline at end of file diff --git a/src/quantum/__init__.py b/src/quantum/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/quantum/quantum.py b/src/quantum/quantum.py new file mode 100644 index 0000000..fb6a675 --- /dev/null +++ b/src/quantum/quantum.py @@ -0,0 +1,3 @@ +import random + +tralse = bool(random.getrandbits(1))