Skip to main content

Discrete emergent wavefunction

Project description

QBitwave: Emergent Information-Theoretic Wavefunctions

The QBitwave project unifies classical bitstrings and emergent wavefunctions into a single, information-centric framework.
From raw binary data, complex amplitudes, phases, and probabilistic dynamics naturally emerge.
The multidimensional extension, QBitwaveND, allows these structures to evolve dynamically in time, forming a complete informational pipeline.

Core Concept

QBitwave

QBitwave treats the wavefunction as an emergent, information-theoretic object.
A finite bitstring encodes a discretized wavefunction, which can be reconstructed as normalized complex amplitudes — the minimal program reproducing the bitstring (Kolmogorov complexity perspective).

Fundamental principles:

  • Compression = quantum probability amplitude = predictability
  • Smooth, regular data compresses well → high amplitude in few Fourier components (low entropy)
  • Random/noisy data is incompressible → low amplitude concentration
  • Wavefunction = minimal program reproducing the bitstring

Features:

  • Forward mapping: wavefunction → bitstring
  • Reverse mapping: bitstring → minimal wavefunction
  • Block-size selection via entropy maximization
  • Shannon entropy computation
  • Fourier-based compressibility measure reflecting structure

QBitwaveND

QBitwaveND generalizes QBitwave to N-dimensional continuous fields and allows dynamical evolution in time.

Conceptual Relation
QBitwave → Emergence: bitstring → ψ(x)
QBitwaveND → Evolution: ψ(x) → ψ(x, t)

QBitwaveND applies unitary, physically motivated evolution consistent with the Schrödinger free-particle dispersion relation, but framed entirely informationally:

  1. Take N-dimensional complex amplitude array ψ(x₁, x₂, …, xₙ)
  2. Compute Fourier transform:
    ψ̃(k) = FFT[ψ(x)] / ∏ shape
  3. Apply time evolution in frequency space:
    ψ̃(k, t) = ψ̃(k) · exp(-i·ω(k)·t), where ω(k) = (ħ |k|²) / 2m
  4. Inverse transform to get ψ(x, t)

Interpretation:

  • Time is an informational parameter — the phase evolution of encoded structure
  • Bridges algorithmic information (Kolmogorov domain) and spacetime dynamics (Fourier domain)
  • Provides unitary time evolution over emergent informational geometry, extending static ψ(x) of QBitwave to ψ(x, t)

Attributes:

  • amplitudes : N-dimensional complex array ψ(x) at t=0
  • shape : spatial dimensions of the array
  • ndim : number of spatial dimensions
  • fft_coeffs : normalized Fourier coefficients ψ̃(k)
  • freqs : per-axis frequency arrays
  • mass : effective mass parameter (ħk² / 2m)
  • c : speed of light (for optional relativistic corrections)
  • hbar : reduced Planck constant

Key Methods:

  • from_array(data_array) : construct from existing N-D array
  • from_qbitwave(qb: QBitwave) : create N-D field from a 1D informational wavefunction
  • time_evolve_coeffs(t) : return Fourier coefficients after time evolution
  • evaluate(*coords, t=0.0) : compute ψ(x, t) at arbitrary coordinates
  • probability(*coords, t=0.0) : return |ψ(x, t)|² (Born-rule analog)

Why It Matters

  • Removes the need for predefined physics: the wavefunction emerges from information alone
  • Bitstring = minimal unit of physical description
  • Amplitudes, phases, probability, and dynamics all derive from the internal structure of the bitstring
  • QBitwave → static emergence, QBitwaveND → dynamic evolution, together forming a complete informational pipeline

🌀 Example Usage

from qbitwave import QBitwave, QBitwaveND

# Create a 1D informational wavefunction
qb = QBitwave("010110110001")

# Lift it to N-dimensional dynamic field
qn = QBitwaveND.from_qbitwave(qb)

# Evaluate amplitude at x=0.2, t=0.5
psi_t = qn.evaluate(0.2, t=0.5)

# Compute probability (Born rule analog)
P = qn.probability(0.2, t=0.5)

Images

compressibility compressibility_entropy photon_heatmap qbitwave

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qbitwave-0.2.1.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qbitwave-0.2.1-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file qbitwave-0.2.1.tar.gz.

File metadata

  • Download URL: qbitwave-0.2.1.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for qbitwave-0.2.1.tar.gz
Algorithm Hash digest
SHA256 537e24af92047b25bfc6e892683191b58e1af9483c093ad8d0c811c984145276
MD5 92d8ef360b2b8ac360dadbbdfcdce8a5
BLAKE2b-256 b92c3d33ab2833472df724ddfe21f7ffe97f9f6a9a54152496d6a101815491e9

See more details on using hashes here.

File details

Details for the file qbitwave-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: qbitwave-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for qbitwave-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 39a05cd9920ee8838bb59beb6bc641a849a556da29448bdf003af6fdea349bc8
MD5 e66dac761f1e380e9a989e129a3f1708
BLAKE2b-256 ef50c30c4c347c90aec9d90cb00a922a2304f41ed45ff5cd7ca4ca1da4432389

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page