-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
BB84 QKD algorithm #7898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BB84 QKD algorithm #7898
Conversation
Waiting for qiskit to be compatible with Python v3.11... |
Qiskit 0.39.2 is the first release to support Python v3.11. The associated PR was recently merged. |
Can you please rebase to the current |
I thought uppercase was appropriate because they're initials.
for more information, see https://pre-commit.ci
Co-authored-by: Christian Clauss <[email protected]>
Sorry about the mess. I messed up the rebase initially. I've accepted your suggested change and removed the python version restriction from qiskit. |
BB84() --> bb84() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good
Done as an amended commit. Sorry I chose the wrong line in a previous merge. |
Correct typo in `default_rng()` call Co-authored-by: Maxim Smolskiy <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do this!!!
* Added BB84 algorithm. * Function name lowercase + imports fix I thought uppercase was appropriate because they're initials. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update quantum/bb84.py Co-authored-by: Christian Clauss <[email protected]> * Removed python < 3.11 restriction from qiskit * Removed python < 3.11 restriction from qiskit * scikit-learn * Update quantum/bb84.py Correct typo in `default_rng()` call Co-authored-by: Maxim Smolskiy <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <[email protected]> Co-authored-by: Maxim Smolskiy <[email protected]>
Describe your change:
Added an algorithm that simulates the BB84 quantum key-distribution protocol.
Checklist:
Fixes: #{$ISSUE_NO}
.