this is a new way of encrypting data using qubits. in this program the qubits are simulated using qiskit.
the program takes a message M and turns it into [m1, m2, ... ] which is then turned into its ACSII values [A1, A2, ...]/256 so it is between 0 and 1 after that it sends qubits each like |qi⟩ = cos((π / 2) * Ai)|0⟩ + sin((π / 2) * Ai)|1⟩ and then on measurement the result collapses into 0s and 1s many times, we count how many 0s were there divide them by the number of samples and then we get an approximate of the polirization of the qubits and reverse the equation to get M again
- Fork the Repository Click the Fork button on the top-right of the repository page. Clone your forked repository: git clone https://github.com/your-username/Quantum-encryption.git Navigate into the project directory: cd Quantum-encryption Add the original repository as a remote: git remote add upstream https://github.com/KevinityAlwaysCamelCase/Quantum-encryption.git
- Create a Branch Before making changes, create a new branch: git checkout -b feature-name
- Make Your Changes Improve the encryption or decryption algorithm. Optimize performance or increase accuracy. Add tests or improve documentation. Fix bugs or report issues.
- Commit and Push Stage your changes: git add . but make sure you put the useless files in .gitignore Commit with a meaningful message: git commit -m "message here(don't write something too big)" Push to your forked repository: git push origin feature-name
- Create a Pull Request (PR) Go to the original repository on GitHub. Click on the Pull Requests tab. Click New Pull Request. Select your branch and describe the changes. Submit the PR for review.
If you find a bug or have suggestions, open an issue: Click on the Issues tab. Click New Issue. Describe the problem or feature request.
Write meaningful commit messages. Keep functions modular and well-documented.