TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Quantum Computing – Concept/Code Review (Qiskit Impl.)

2 pointsby datafatmungeralmost 5 years ago
Hello! I&#x27;m new to this stuff, so please be gentle, but I&#x27;m looking for feedback on the follow code sample which is an attempt at a sort of &quot;homomorphic encryption&quot; scheme. Basically Alice encrypts some operands, sends them to Bob ... who performs some operations (without knowing the operands), sends them back to Alice who then decrypts the results.<p>The implementation here is very simple:<p><pre><code> * Alice encrypts 1 qubit, sends it to Bob. * Bob performs a bit flip (on the encrypted value), sends the value back to Alice. * Alice decrypts the result. </code></pre> I&#x27;m leveraging quantum teleportation to get the qubit from Alice to Bob, which is probably not strictly necessary, if there was a &quot;quantum internet&quot; (a mechanism to send qubits around), but I&#x27;m assuming classical information transfer between the 2 parties.<p>I&#x27;m not a student, this is not homework. Just looking for feedback.<p>Code: https:&#x2F;&#x2F;gist.github.com&#x2F;datafatmunger&#x2F;9f881d362a92b533af8400f6f85f8ffc<p>Thank you!

no comments

no comments