🧠 Quantum Logic Simulator: Probabilistic Bit Collapse Visualizer

Overview:

This software simulates a simplified quantum-inspired addition process using classical probabilistic modeling. It visually represents how quantum-like states (probabilities) evolve over several computation cycles and then "collapse" to final binary results. Designed to be educational and intuitive, the software helps users understand how qubit probabilities shift through operations and how results emerge via probabilistic collapse.

πŸ” Key Features:

βœ… Configurable Input:

  • Input two unsigned integers (A and B) for addition.

  • Define:

    • Number of Cycles: Simulates multiple computational passes for state refinement.

    • Number of Runs: Repeat the simulation multiple times to observe variations.

βœ… Bit-Level Breakdown:

  • Inputs are broken down into 5-bit binary arrays.

  • Each qubit (bit) is tracked individually across all cycles, with their bias probability being adjusted based on the simulated computation logic.

βœ… Cycle Simulation:

  • Each cycle represents a logic pass that probabilistically adjusts each qubit’s bias depending on the partial sum (like a full adder).

  • Bias adjustments are shown in detail (e.g., "Qubit[3]: Prob: 50% -> 51% (Increased)").

βœ… Probabilistic Collapse Phase:

  • After all cycles, each qubit collapses to either 0 or 1 based on its bias (e.g., a 70% bias means a 70% chance of collapsing to 1).

  • Final output is reconstructed from these collapsed bits and presented in both binary and decimal formats.

βœ… Refinement Mode:

  • Optional toggle to retain qubit biases between runs, simulating continuous learning/refinement.

  • When unchecked, all qubit probabilities reset to 50% at the end of each run.

βœ… Console Log Output:

  • All activity is displayed in a structured, styled RichTextLabel console:

    • Inputs

    • Bit states

    • Per-qubit computation

    • Probabilistic transitions

    • Final collapsed values

πŸŽ“ Educational Purpose:

This tool is great for:

  • Quantum computing education – illustrating probabilistic computation and collapse.

  • Algorithm visualization – showing per-bit transformations and simulation steps.

  • Debugging probabilistic logic – especially in quantum-like or neural-inspired systems.

🧩 Underlying Logic:

  • Qubit biases (0–100%) simulate quantum uncertainty.

  • The full-adder logic uses A + B + Carry to determine the next state influence.

  • A simple random roll determines bias adjustments and collapse results.

  • This is not a quantum emulator, but a visual and logical abstraction of some quantum computing concepts like superposition collapse and iterative refinement.

πŸ› οΈ Built With:

  • Godot Engine 4.x

  • GDScript

  • UI components: TextEdit, Button, CheckBox, RichTextLabel

πŸ’‘ Example Use Cases:

  • Teaching students how quantum-style thinking works.

  • Showing how repeated probabilistic decisions can "learn" over time.

  • Comparing classical binary logic to probabilistic outcomes.

    ⚠️ Disclaimer
    This software is a simplified simulation and does not represent the actual mechanics or physics of a real quantum computer.
    It is designed for educational and illustrative purposes only, using probabilistic logic inspired by quantum concepts like superposition and collapse. Real quantum systems involve complex phenomena such as entanglement, interference, and wavefunction evolution, which are not modeled here. Use this tool to build intuition, not to simulate real quantum computation.
Published 7 days ago
StatusReleased
CategoryTool
PlatformsHTML5, Windows, Linux
AuthorKen Games
GenreSimulation
Made withGodot
Tagsquantum-computing, tech
Average sessionA few seconds
LanguagesEnglish
InputsKeyboard, Mouse

Download

Download NowName your own price

Click download now to get access to the following files:

Quantum Computing Linux.rar 18 MB
Quantum Computing Window.rar 24 MB