Inspiration
Trust is the foundation of any voting system. Inaccurate or compromised results can undermine entire processes. For this hackathon, I set out to explore how quantum computing can enhance voting security, transparency, and reliability.
What it does
- Generates truly random one-time voter tokens using quantum randomness.
- Detects duplicate or fraudulent votes using a simulated Grover’s algorithm search.
- Strengthens authentication with quantum-generated salts for password hashing.
How we built it
The architecture combines:
- Frontend (Next.js) – For voter and admin interaction.
- Backend (ASP.NET C#) – Handles voting logic and API endpoints.
- Quantum Layer (Q#) – Provides:
- Quantum token generation for voter access.
- Grover’s algorithm simulation for duplicate detection.
- Quantum-generated salt for password hashing.
- Database (MSSQL) – Stores organization data, voter lists, and results.
Challenges we ran into
- Learning Q# in a short time.
- Simulating large-scale quantum search without QRAM which we later decided to simulate a search using Grover's algorithm
- Debugging C# ↔ Q# data conversion.
- The biggest challenge was understanding q# algorithms and integrating into c# application
Accomplishments that we're proud of
- Successfully integrated Q# quantum operations with an ASP.NET backend and Next.js frontend.
- Demonstrated three distinct, functional applications of quantum computing in one system.
- Built a full-stack working prototype in a short hackathon timeframe.
- Learned and applied Q# from scratch while delivering real functionality.
What we learned
Through this project, We learned:
- How to write Q# operations and integrate them with a C# backend.
- How quantum randomness outperforms classical PRNGs in cryptography.
- How to simulate Grover’s algorithm, which runs in time complexity
[ O(\sqrt{N}) ] compared to classical (O(N)) search. - The design of hybrid classical–quantum workflows ready for future quantum hardware.
What's next for QVote
- Implement post-quantum cryptography for all vote data storage and transmission.
- Scale to millions of voters with optimized quantum search algorithms and QRAM integration.

Log in or sign up for Devpost to join the conversation.