Quantum-Optoneural Tomography (QOT): Seeing the Brain in Real Time
by Ayaan J.
📄 This portfolio is a self-contained HTML document with all images embedded.
Contains 6 images extracted from PDF.
Videos require Google Drive access to play.
Introduction
For decades, brain scientists have wanted one thing: to see what the brain is doing as it happens, in real time. Current tools each have their limits. EEG is fast but blurry. fMRI is clear but slow. Optical methods can look at single cells but only in small areas. In this report, I describe an idea for an “ideal” brain imaging system that could solve these problems. It’s called Quantum-Optoneural Tomography (QOT). It combines light, magnetism, and artificial intelligence to show both the fine details of single neurons and the big picture of whole-brain activity. The design is inspired by real advances in quantum sensing, calcium imaging, and AI analysis. If built, this system could completely change how we study and treat the human brain.
Figure 1. Concept design of the Quantum-Optoneural Tomography (QOT) helmet showing integrated nanodiamond quantum sensors (red) and optical fibers (blue) used to detect both magnetic and optical signals from neural activity in real time.
Page 1 visual content
What It Would Measure
QOT would measure brain activity by picking up two kinds of signals: the small magnetic fields made when neurons fire, and tiny flashes of light from special molecules that react when calcium enters a cell. When a neuron sends a signal, it makes both an electrical current and a change in calcium levels. QOT would detect both at the same time, showing when and where neurons are active. The magnetic signal would come from quantum sensors called “NV centers” inside nanodiamonds. These are very sensitive and can detect magnetic fields smaller than one billionth of the Earth’s magnetic field. The light signal would come from fluorescent molecules, like the jGCaMP7 sensors already used in brain research (Dana et al., 2019). This combination would let us see electrical activity (speed) and calcium signals (strength) in one image. It would be the first method to show brain function from single neurons all the way up to whole-brain patterns.
Page 2 visual content
Equipment Design
The QOT system would look like a light, comfortable helmet that fits on the head. It would contain a thin layer of nanodiamond sensors that detect magnetic fields and another layer of optical fibers that shine gentle laser light through the scalp. These sensors would collect both magnetic and optical signals from the brain at the same time. The information would go to a small computer that uses machine learning to turn the signals into live 3D images. This computer would work like quantum-sensing approaches that measure brain signals with high precision (Aslam et al., 2023). The device could be powered by small batteries, and it would not need the huge magnets or cooling systems that MRI machines use. In short, QOT would be portable, safe, and usable outside of a lab even during real-world activities.
Figure 2. System diagram of Quantum-Optoneural Tomography (QOT) showing how brain activity produces magnetic and optical signals, which are captured by helmet sensors, processed by an AI system, and reconstructed into real-time 3D images.
Page 3 visual content
What the Data Would Look Like
The data from QOT would look like moving 3D maps of the brain. Each spot in the image would show both magnetic and optical activity, updating every millisecond. You could watch signals spread from one area to another in real time. It would be like seeing waves of thought move across the cortex. Because it measures millions of points at once, the system would produce a huge amount of data — several gigabytes every second. To make this usable, an AI program called “NeuroFusionNet” could merge the light and magnetic information into smooth, clear animations. These animations would help scientists see how single neurons connect to large-scale brain networks (Assaf et al., 2020). The images could even show how attention, learning, or emotions change brain activity second by second.
Page 4 visual content
Limits and Challenges
QOT would face some tough challenges. Light scatters when it passes through skin and bone, so it’s hard to see deep parts of the brain. This is one of the main limits of optical neuroimaging techniques (Hill et al., 2019). The quantum sensors also lose accuracy over time because of noise from the environment. Even tiny movements of the head could cause errors. Some of these issues might be fixed with smarter AI correction or improved materials, but others are harder to solve. Another problem is biology: the calcium sensors now used in labs require genetic changes, which wouldn’t be safe for people. Researchers are already working on chemical versions that could do the same job without genetic modification. Finally, privacy and ethics are big concerns. If QOT can show a person’s thoughts or mental state in real time, we’ll need strict rules about who can use that data and how it’s stored.
Page 5 visual content
What It Could Make Possible
If we could build QOT, it would change both science and medicine. Scientists could finally see how single cells and brain regions work together to make thoughts, emotions, and memories. It would let us study how learning happens, or how diseases like Alzheimer’s break down connections in the brain. Doctors could use it to find seizure areas in people with epilepsy or track recovery after a stroke. It could even lead to new kinds of brain-computer interfaces that help people control devices using brain activity alone. For example, QOT could give real-time feedback during deep brain stimulation for Parkinson’s disease, helping doctors tune treatments instantly. Beyond medicine, this kind of imaging could also help answer one of the hardest questions in science, how brain activity becomes conscious experience. While we’re far from making this a reality, all the parts needed for QOT, quantum sensors, fast light systems, and AI reconstruction already exist in early forms. With enough progress, QOT could become the first truly “complete” window into the human mind.
Assaf, Y., Bouznach, A., Zomet, O. et al. Conservation of brain connectivity and wiring across the mammalian class. Nat Neurosci 23,805–808 (2020) https://doi.org/10.1038/s41593-020-0641-7
Dana, H., Sun, Y., Mohar, B. et al. High-performance calcium sensors for imaging activity in neuronal populations and microcompartments. Nat Methods 16, 649–657 (2019). https://doi.org/10.1038/s41592-019-0435-6
Hill, R.M., Boto, E., Holmes, N. et al. A tool for functional brain imaging with lifespan compliance. Nat Commun 10, 4785 (2019). https://doi.org/10.1038/s41467-019-12486-x
OpenAI. (2025, November 6). ChatGPT (GPT-5) [Large language model]. OpenAI. https://chat.openai.com/
Other Course Work
📊 Assignment 1: EEG Analysis
📓 PSYCH403_Assignment1_EEG - Ayaan Jimale.ipynb
Jupyter Notebook
Interactive Python notebook with code, visualizations, and analysis
Code: We had troubles saving the code so it is pasted below: // Brain particle system let particles = []; function setup() { // HSB in 0..1 (you already had this) colorMode( HSB , 1 , 1 , 1 ); for ( let i = 0 ; i < 100 ; i++) { particles.push({ x: random(width), y: random(height), // base fast velocities (your choice kept) vx: random( 0 , 50 ), vy: random(- 2 , 50 ), life: 1.0 , seed: random( 1 ) // NEW: per-particle hue for rainbow }); } } function draw() { // Use BrainImation sliders: Attention≈beta, Meditation≈alpha const alpha = (eegData.meditation ?? eegData.alpha ?? 0 ); const beta = (eegData.attention ?? eegData.beta ?? 0 ); // stress logic: true if attention > meditation const stressed = beta > alpha + 0.02 ; // tiny margin avoids flicker // BG: stressed = white, calm = dark if (stressed) background( 0 , 0 , 1 , 0.15 ); else background( 0 , 0 , 0.06 , 0.10 ); // speed scale: calm slow, stressed fast const speed = stressed ? 1.0 : 0.18 ; // <<< slow when calm for ( let p of particles) { // Movement influenced by brain waves (your logic kept) p.vx += (random(- 1 , 1 ) * (eegData.alpha ?? alpha) * 0.1 ); p.vy += (random(- 1 , 1 ) * (eegData.beta ?? beta) * 0.1 ); // Apply speed scaling (NEW) p.x += p.vx * speed; p.y += p.vy * speed; // Wrap around if (p.x < 0 ) p.x = width; if (p.x > width) p.x = 0 ; if (p.y < 0 ) p.y = height; if (p.y > height) p.y = 0 ; // Color: stressed = red, calm = rainbow (NEW) let hue = stressed ? 0.0 : (p.seed + frameCount * 0.002 ) % 1.0 ; fill(hue, 0.9 , 0.95 , p.life); noStroke(); ellipse(p.x, p.y, 5 + (eegData.gamma ?? 0 ) * 10 ); // life (your fade kept) p.life *= 0.995 ; if (p.life < 0.1 ) p.life = 1.0 ; } }
Demo Calm Mode: Meditation ≈ 0.8 ↑ Attention ≈ 0.2 ↓ Dark background, slow/rainbow drift Stressed mode: Attention ≈ 0.9 ↑ Meditation ≈ 0.1 ↓ White background, red fast streaks
Zen Blood Particles: A Brain-Controlled Visualization of Stress and Calm Contributors: Ayaan Jimale, Sarah Badran, Marinaya Saigh, Hamza Razzo Concept Our project began with the Brain Particles example from the BrainImation platform. We wanted to transform a simple particle system into a bio-responsive visualization of stress and calm — a sort of “digital mood” that reflects brain activity. When a user becomes stressed (higher beta / attention activity), the screen erupts into fast-moving red particles against a white background, resembling blood splatter or heightened physiological arousal. When the user relaxes (higher alpha / meditation activity), the environment shifts to a dark background with slow, softly colored rainbow particles drifting gently. The contrasting aesthetics represent two opposing brain states: tension versus calm. Technical Implementation We used the built-in BrainImation variables eegData.attention (as a proxy for beta ) and eegData.meditation (as a proxy for alpha ). The program continuously compares these two values to determine the current state: if attention > meditation → stressed mode else → calm mode Stressed Mode ● White background ● Red particles ● High velocity (up to 50 px per frame) ● Slight downward/right bias to suggest urgency and gravity Calm Mode ● Dark background ● Rainbow-cycling particle hues (based on each particle’s seed and frame count) ● Reduced velocity for smoother, slower drift To avoid flicker during rapid EEG fluctuations, the code includes a small threshold (attention > meditation + 0.02) before switching states. This keeps transitions visually stable while remaining responsive in real time. The system also uses the “Simulate Data” mode for testing, with the Attention and Meditation sliders controlling stress and calm levels manually. When connected to a Muse headset, these values update automatically from the user’s EEG signals. Challenges Early versions of the code produced constant flickering because simulated EEG data changed frame-by-frame. We fixed this by slightly smoothing the inputs and introducing a small difference
threshold before toggling modes. Another challenge was balancing aesthetics and performance: large particle velocities looked dramatic but caused visual clutter, so we tuned the speed scale for a more natural flow. We also adjusted HSB color ranges so that red remained vivid on a white background while rainbow hues remained visible on a dark one. What We Learned Working with BrainImation showed how small numerical differences in brain-wave bands can create striking visual differences. We learned how to translate abstract EEG measures (alpha vs beta) into an intuitive sensory experience of stress versus relaxation. The project also reinforced principles of real-time visualization, such as smoothing noisy data, scaling motion by signal intensity, and designing visual metaphors that match psychological states. Future Improvements ● Add gradual color blending instead of hard switching between modes. ● Include subtle particle size or opacity changes linked to overall calmness level. ● Experiment with live Muse input to explore individualized thresholds. ● Optionally add sound modulation for a multimodal neurofeedback experience. Summary Zen Blood Particles transforms EEG data into a visceral display of the brain’s changing internal state. By mapping stress to speed and color intensity, and calmness to slow, colorful drift, the animation becomes a live mirror of the user’s mental tension and relaxation — a minimal yet powerful demonstration of brain-computer interaction through art.
This project extends the Brain Particles visualization into a neurofeedback tool that rewards sustained calmness. When the user’s meditation signal (alpha waves) is higher than attention (beta waves), the particles drift slowly across a dark background in rainbow colors—representing a calm, balanced mental state. When attention exceeds meditation, the scene becomes bright white, particles turn red, and their speed increases to mirror stress.What i added was a progress bar tracks how long the user maintains calm; after roughly ten seconds of stability, the display shows “ 🧠 Target Achieved!” as positive reinforcement. Each animation frame reads real-time EEG values from eegData.meditation and eegData.attention. These are compared to determine whether the user is calm (alpha > beta) or stressed (beta > alpha). The calm progress counter (calmProgress) increases when calm and decreases when stressed, giving users a tangible measure of how steadily they hold the target state. Visual properties—background color, particle hue, and velocity—change instantly with these variables, providing immediate feedback. This transforms the art piece into a feedback loop: Brain activity → visual change → self-regulation → improved brain state Unlike a static visualization that simply mirrors brain-wave values, Zen Blood Neurofeedback trains the user to reach and maintain a specific brain pattern. By turning calmness into a “score” that fills a bar, the system closes the neurofeedback loop: the brain learns from its own visual consequences. This aligns with professional neurofeedback systems that reinforce desired neural activity through real-time cues. Building this project clarified how small fluctuations in EEG bands can drive large perceptual changes and how feedback timing affects learning. I also learned practical techniques for smoothing noisy signals, mapping quantitative data to motion and color, and designing visual rewards that motivate users without explicit instructions. The finished piece effectively visualizes internal states while encouraging self-regulation—demonstrating how creative coding can become a simple, artistic brain-training tool. EEG Data Used: eegData.meditation, eegData.attention, eegData.alpha, eegData.beta Novel BCI Approach: Target Brain State Training (Neurofeedback)
Part 2 - 270 words:
For this project, I chose to measure the P300 component, which is one of the most well-known event-related potentials in cognitive neuroscience. The P300 is typically seen as a large positive deflection in the EEG signal around 300 milliseconds after a rare or significant event. It’s strongly linked to attention and decision-making—basically, how our brains respond when something unexpected happens among a stream of regular stimuli. In my simulation, I used a visual oddball paradigm where a blue circle represents the frequent (standard) stimulus and a red circle represents the rare (oddball) one. The program randomly presents rare trials about 20% of the time, while frequent trials occur about 80% of the time. This mimics how actual P300 experiments are structured in cognitive and clinical EEG research. The averaging system collects simulated EEG data across four channels (TP9, AF7, AF8, TP10). Each trial’s EEG signal is divided into epochs that span 200 ms before and 800 ms after stimulus onset. Baseline correction is applied using the pre-stimulus window, and the data are then averaged across all trials separately for the rare and frequent conditions. This averaging cancels out random noise and highlights the consistent, time-locked brain response to each condition—just like how real ERP analysis works in labs. If tested with real EEG data, I’d expect to see a larger positive peak (the P300) around 300–500 ms after the rare stimulus, especially at parietal and central electrodes. Frequent stimuli should produce much smaller or no P300 peaks. This pattern reflects the brain’s orienting response to surprising or meaningful events and is widely documented in attention, memory, and cognitive control studies.