Skip to content

Qu-Chain/quantum-compupaytion-dapp

Repository files navigation

Quantum Computation handled by Smart Contracts

We democratise access to specialised hardware like quantum computers which are typically controlled by a single party (large companies, governments etc..). You can upload your Open- QASM circuit to the Dapp, calculate the cost of the computation and call the smart contract to add the circuit without having to set up any accounts, licensing or API keys with the computing provider. This triggers a series of API calls which ultimately reaches the level of an IBM quantum computer. The result is posted on-chain along with the hash of the quantum circuit making it privacy preserving and allowing the user to execute conditional logic based on the result of the computation. This also makes the compuation more efficient insofar as circuits that have already been executed in past have a result associated with them which can always be fetched seamleslly without re-running the computation.

Architecture

architecture

Nexth

Adapted from from Nexth A Next.js + Ethereum starter kit to quickly ship Web3 Apps

Developer Tooling 🧰

Web3 & Quantum Tooling

Development 🛠️

npm run dev
# or
yarn dev

The smart contract is live on PolygonMumbai: https://mumbai.polygonscan.com/address/0xbD1deBcB2E5D80187a149fB52368aa4229eaAD09.

Chainlink Functions:

Chainlink Automation: