Postagens

Building a Quantum Random Number Generator with Qiskit

Imagem
Table of Contents Why Build a Quantum RNG? Prerequisites Part 1: The Simplest QRNG (1 Qubit) Part 2: Multi-Qubit QRNG (8 Bits per Shot) Part 3: Entangled QRNG (Our Approach) Part 4: Running on Real Quantum Hardware Part 5: Converting Measurements to Usable Data Part 6: Verifying Randomness Quality Complete Code Why Build a Quantum Random Number Generator? Every random number your computer has ever produced is fake. That sounds dramatic, but it is technically true. Classical computers are deterministic machines. They cannot produce true randomness — only pseudorandomness , sequences that look random but are completely determined by an initial seed. Give random.seed(42) to Python and it will produce the same "random" numbers every time, on every machine, forever. For most applications, pseudorandomness is fine. But for cryptography, scientific simulation, and — as we discovered — generative art, there are good reasons to want the real thing. A quantum random n...

The Art Hidden in Quantum Noise: Decoherence as Aesthetic

Imagem
Table of Contents What IS Quantum Noise? The Beauty of Imperfection How Noise Manifests in Our Measurements The Aesthetic Argument: Real vs. Fake Randomness Origin Quantum vs IBM Quantum: Two Voices Our Noise Texture Layer The Philosophical Angle Showcase: High-Entropy Pieces What IS Quantum Noise? Every quantum computer is in a war with the universe. The moment you prepare a qubit in superposition — balanced on that knife-edge between 0 and 1 — the environment begins to intrude. Stray photons, thermal vibrations, electromagnetic whispers from a cable three meters away. The qubit starts to forget what it was supposed to be. Physicists call this decoherence . There are two timescales that define this decay. T1 is the energy relaxation time — how long before an excited qubit falls back to its ground state, like a ball rolling downhill. T2 is the dephasing time — how long before the qubit's phase information dissolves into noise. On IBM's superconducting processor...

IPFS, Metadata, and Immutable Quantum Provenance

Imagem
IPFS, Metadata, and Immutable Quantum Provenance An NFT without proper metadata is just a number on a blockchain. The metadata is what gives it meaning — the name, the image, the attributes, and in our case, a cryptographic certificate proving the art was generated by a real quantum computer. Here is how we structured all of it on IPFS for the Quantum Genesis collection. Table of Contents What Is IPFS and Why It Matters Our IPFS Structure ERC-721 Metadata Standard Deep Dive Attributes Design Quantum Authenticity Certificates Upload Process: Pinata API How baseURI Connects Contract to Metadata 1. What Is IPFS and Why It Matters for NFTs Content Addressing vs Location Addressing Traditional web URLs are location-based : they tell you where something is ( https://example.com/image.png ). If the server goes down or the file is moved, the link breaks. Your NFT's image disappears. IPFS uses content addressing : the address is derived from the content itself. A file...

Minting 100 NFTs on Polygon for Under $10 in Gas

Imagem
Minting 100 NFTs on Polygon for Under $10 in Gas Quantum Genesis NFT #2 — arte generativa quântica Quantum Genesis NFT #2 — arte generativa quântica Quantum Genesis NFT #100 — peça final da coleção Deploying and minting 100 NFTs on Ethereum mainnet would have cost us $500 or more. On Polygon, we did it for under $10. Here is exactly how, step by step, with all the code. Table of Contents Why Polygon? Our Approach: Self-Contained Solidity Contract Step 1: Write the Contract Step 2: Compile with solcx Step 3: Deploy with web3.py Step 4: Batch Minting Strategy Step 5: Verify on PolygonScan Gas Cost Analysis Polygon vs Ethereum Comparison 1. Why Polygon? When we set out to mint the Quantum Genesis collection — 100 NFTs generated from real quantum computers — we needed a chain that met three requirements: Low gas fees : We wanted minting costs to be negligible so the art and provenance could be the focus, not the transaction fees. Ethereum compatibility : Full EVM suppo...

From Qubits to NFTs: The Complete Technical Architecture

Imagem
Quantum Genesis is 100 NFTs where every pixel traces back to a measurement on a real quantum computer. No pseudorandom fallbacks, no simulated qubits — actual quantum hardware on two continents feeding a deterministic art pipeline that ends on the Polygon blockchain. This post breaks down every layer of the architecture, with code from each stage. If you've ever wondered what it takes to go from a qubit measurement to a minted NFT, this is the full blueprint. Table of Contents Architecture Overview Layer 1: Quantum Seed Generation Layer 2: Art Generation (RNG + SVG + PNG) Layer 3: IPFS Storage (Pinata) Layer 4: Smart Contract (Polygon) Layer 5: Marketplace (OpenSea) What Makes This Unique Explore the Collection Architecture Overview The entire pipeline is five layers, each feeding the next deterministically. Given the same quantum seed, the same NFT art is always produced — making every piece independently verifiable. QUANTUM GENESIS — Full Pipeline Architectu...