Multi-Contour Process Isolation and Side-Channel Defense Framework for Multi-Tenant Quantum Clouds
Live Interactive Web Application: https://turtleshell.iqumnov.com
Zero-install, client-side real-time interactive physics engine running directly in the browser on Cloudflare Pages. Simulates 4 quantum physical QPU architectures, 5 multi-tenant side-channel attacks, and the 4 defense contours in pure TypeScript with zero backend required, or connects seamlessly to a local Python daemon.
TurtleShell provides a multi-contour defense envelope designed to enforce zero-trust spatial and temporal process isolation between concurrent tenants executing on shared Quantum Processing Units (QPUs).
+-----------------------------------------------------------------------------------+
| TurtleShell Platform |
+-----------------------------------------------------------------------------------+
| | | |
v v v v
+---------------+ +---------------+ +---------------+ +-----------+
| Contour 1 | | Contour 2 | | Contour 3 | | Contour 4 |
| Physical | | Compiler | | Buffer Delay | | Telemetry |
| Partitioning | | Verification | | & Thermal Qu. | | & SPC Mon |
| - Laplacian | | - SHA-256 | | - Laser Cool | | - Diff. |
| Spectral | | Circuit | | - tau_b Calc | | Z-Score |
| - LMS Filter | | - Iso-Forest | | - Phonon Qu. | | - Autoenc |
+---------------+ +---------------+ +---------------+ +-----------+
-
Contour 1 — Physical Spatial Partitioning & Crosstalk Isolation:
- Computes Graph Laplacian
$L = D - |J|$ on QPU coupling topology. - Spectral bisection via the Fiedler vector minimizes inter-tenant
$ZZ$ -crosstalk boundary Hamiltonian terms. - Least Mean Squares (LMS) adaptive filter dynamically cancels stray RF drive pulse leakage (
$e(k) = d(k) - \mathbf{w}^T \mathbf{u}$ ).
- Computes Graph Laplacian
-
Contour 2 — Trusted Compiler Verification & Circuit Integrity:
- SHA-256 cryptographically seals client quantum circuit intermediate representation.
- Unsupervised Isolation Forest audits circuit transpilation for parasitic gate insertion, aggressive pulse stretching, or frequency tampering.
-
Contour 3 — Temporal Buffer Isolation & Thermal State Quenching:
- Eliminates residual inter-tenant motional phonon excitations and transmon cryostat heating.
- Dynamically calculates required laser cooling buffer duration
$\tau_b$ :$$\tau_b = \frac{1}{\eta} \ln \left( \frac{\bar{n}_0 - \dot{n}/\eta}{n^* - \dot{n}/\eta} \right)$$ - Enforces cooling delay between subsequent tenant execution batches until vibrational mode
$\bar{n} \le n^*$ .
-
Contour 4 — Differential Telemetry & Statistical Process Control (SPC):
- Real-time calibration drift monitoring using differential synthetic frequency methods:
$$\nu_{\text{syn}} = \frac{\nu_+ + \nu_-}{2}$$ - Non-Gaussian Kolmogorov-Smirnov statistical anomaly detector with Student-$t$ distribution thresholding (
$Z > 3.5\sigma$ /$6.87$ ). - 16-dimensional Standardized PCA telemetry subspace detector (
StandardScaler+PCA(4)) monitoring environmental sensor vectors for stealthy microarchitectural side channels.
- Real-time calibration drift monitoring using differential synthetic frequency methods:
TurtleShell models four canonical, widely-adopted quantum hardware platforms with calibration parameters derived strictly from peer-reviewed scientific literature:
| Platform ID | Architecture | Qubits | Coupling Topology | Physical Characteristics | EuroHPC / EU Ecosystem Counterpart |
|---|---|---|---|---|---|
trapped_ion_paul_trap |
Linear RF Paul Trap ( |
20–50 | All-to-all motional bus | Individual addressing, phonon heating |
AQT IBEX / PINE (Innsbruck / EuroHPC JU) |
sr_optical_lattice |
2D Optical Lattice ( |
100 | Nearest-neighbor Rydberg | Optical dipole trap (~1 |
PASQAL Fresnel / Orion-class neutral atoms (France / EuroHPC JU) |
eagle |
Superconducting Transmon | 127 | Heavy-Hex (fixed couplers) | Cross-resonance gates, static |
Standard transmon baseline |
heron |
Superconducting Transmon | 133 | Heavy-Hex (tunable couplers) | Fast flux-tunable couplers, dynamic crosstalk suppression ( |
IQM Radiance / Spark (Finland / Germany / EuroHPC) |
Luxembourg serves as the administrative and technological headquarters of the EuroHPC Joint Undertaking (EuroHPC JU), driving European quantum sovereignty. Under EuroHPC JU and national infrastructure initiatives (such as LuxProvide MeluXina in Bissen, Luxembourg, and LuxQCI / EAGLE-1):
-
AQT Trapped-Ion Integration: TurtleShell's
trapped_ion_paul_trapdirectly models the physical vibrational and RF leakage dynamics of AQT$^{40}\text{Ca}^+$ hardware procured for EuroHPC supercomputing centers. -
Neutral-Atom Optical Lattice (
$^{87}\text{Sr}$ / PASQAL-class): Thesr_optical_latticeplatform models 2D Rydberg blockade arrays ($R_b \approx 5.2,\mu\text{m}$ at$a = 4.0,\mu\text{m}$ ) aligned with European neutral-atom quantum systems. -
IQM Superconducting Transmons: The tunable transmon model (
heron) captures dynamic flux-bias isolation implemented in modern European quantum processors. - MeluXina Hybrid Quantum Cloud: Provides the zero-trust multi-tenant isolation layer required to run concurrent academic and industrial workloads on shared EuroHPC quantum accelerators.
TurtleShell is organized with Diataxis documentation across docs/ (architecture/, engines/, reference/) and runs in two complementary runtimes:
- Zero-Backend Requirement: Deployed as a static single-page application on Cloudflare Pages (https://turtleshell.iqumnov.com).
- In-Browser Numerical Engine: Implements the full physical QPU layout generation, crosstalk models, phonon heating differential equations, and 4 defense contours in pure TypeScript (
clientEngine.ts). - Privacy & Zero Latency: All simulations and audits execute locally inside your browser sandbox without transmitting telemetry across the network.
- Zero Installation: Accessible instantly on any device (desktop, tablet, mobile) with zero dependencies.
- Scientific Master Equation Verification: Python research package (
packages/quantum-isolation-benchmark) for academic researchers to verify multi-tenant isolation against open-system master equations. - High-Throughput Daemon: Optional Python backend streaming real-time simulation metrics via WebSocket (
ws://127.0.0.1:8000/api/simulation/stream) when running locally. - Automated Installers: POSIX (
install.sh) and Windows PowerShell (install.ps1) one-line setup scripts. qibBenchmark CLI: Command-line interface for running automated isolation benchmarks, generating QuTiP quantum trajectory verifications, and producing Markdown audit reports.
curl -sSL https://raw.githubusercontent.com/Iqumnov/TurtleShell/main/install.sh | bashirm https://raw.githubusercontent.com/Iqumnov/TurtleShell/main/install.ps1 | iexgit clone https://github.com/Iqumnov/TurtleShell.git
cd TurtleShell
docker-compose up --buildOpen http://localhost:5173 in your browser.
# 1. Clone repository
git clone https://github.com/Iqumnov/TurtleShell.git
cd TurtleShell
# 2. Setup Python virtual environment
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# 3. Install benchmark package and backend dependencies
pip install -e packages/quantum-isolation-benchmark
pip install -r packages/turtleshell-live/backend/requirements.txt
# 4. Install web app dependencies (optional; auto-installed by runner)
pnpm install
# 5. Start live dashboard
./run_live.sh # On Windows PowerShell: .\run_live.ps1The qib (Quantum Isolation Benchmark) CLI evaluates isolation efficacy and calculates financial ROI across multi-tenant workloads:
# Run comprehensive isolation benchmark across all 4 platforms
qib benchmark --provider all --output isolation_report.md
# Verify Contour 3 cooling buffer with QuTiP master equation
qib verify-qutip
# Run multi-tenant spectral scheduler against Crosstalk Attack
qib schedule --platform heron --tenants 3 --algo spectral| SPECS § | Defense Contour / Feature | Physical Equation | Implementation Target |
|---|---|---|---|
| §5.1 | Contour 1: Spectral Partition | backend/app/simulation/scheduler.py |
|
| §5.1 | Contour 1: Adaptive LMS Filter | backend/app/simulation/defense.py |
|
| §5.2 | Contour 2: Circuit Hash & Audit | backend/app/ml/models.py |
|
| §5.3 | Contour 3: Laser Cooling Buffer | backend/app/simulation/defense.py |
|
| §5.4 | Contour 4: Differential Monitor | backend/app/simulation/defense.py |
|
| §5.4 | Contour 4: Telemetry Autoencoder | backend/app/ml/models.py |
|
| §6.0 | Economics: Financial ROI | backend/app/main.py |
|
| Lean 4 | Formal Invariants (Zero-Sorry) | Laplacian PSD, NLMS bound, Cooling |
proofs/TurtleShellProofs.lean |
If you use TurtleShell in your research, isolation benchmarks, or quantum cloud infrastructure, please cite this software repository:
@software{igumnov2026turtleshell,
author = {Igumnov, Matvei Dmitrievich},
title = {TurtleShell: Multi-Contour Process Isolation and Side-Channel Defense Framework for Multi-Tenant Quantum Clouds},
year = {2026},
publisher = {GitHub},
version = {1.0.0},
doi = {10.5281/zenodo.24528037},
url = {https://github.com/Iqumnov/TurtleShell}
}The author declares that he has no competing financial interests or personal relationships that could have appeared to influence the work reported in this software framework.
Matvei Dmitrievich Igumnov (ORCID: 0009-0001-7924-1522)
Department of Information Security, Moscow Polytechnic University, Moscow, Russia
Email: matvei@iqumnov.com
- Physical Calibrations: All QPU calibration metrics, coherence times, and coupling parameters are derived transparently from open, peer-reviewed academic literature with verifiable DOIs.
- Civilian Computational Scope: Platforms and models are restricted strictly to civilian open-science architectures (compatible with EuroHPC JU / AQT / PASQAL / IQM standards).
This project is licensed under the MIT License — see the LICENSE file for details.
Многоконтурная система изоляции процессов и защиты от атак по побочным каналам для многоарендных квантовых облаков
Интерактивное веб-приложение: https://turtleshell.iqumnov.com
Физический симулятор реального времени, исполняемый непосредственно в браузере на Cloudflare Pages без необходимости установки бэкенда. Моделирует 4 архитектуры квантовых процессоров (QPU), 5 сценариев многопользовательских атак по побочным каналам и 4 защитных контура на чистом TypeScript, а также поддерживает подключение к локальному демону на Python.
TurtleShell предоставляет многоконтурную архитектуру безопасности для обеспечения пространственной и временной изоляции процессов в модели Zero-Trust между независимыми пользователями, выполняющими задачи на общем квантовом процессоре (QPU).
-
Контур 1 — Физическое пространственное секционирование и изоляция наводок:
- Вычисляет лапласиан графа
$L = D - |J|$ топологии связности кубитов. - Спектральная бисекция на основе вектора Фидлера минимизирует паразитные члены гамильтониана
$ZZ$ -кросстока на межпользовательской границе. - Адаптивный фильтр наименьших средних квадратов (LMS) динамически компенсирует паразитные утечки СВЧ-импульсов управления (
$e(k) = d(k) - \mathbf{w}^T \mathbf{u}$ ).
- Вычисляет лапласиан графа
-
Контур 2 — Верификация доверенного компилятора и контроль целостности схем:
- Криптографическая фиксация хэша SHA-256 промежуточного представления клиентской схемы.
- Анализ транспиляции алгоритмом Isolation Forest без учителя для выявления паразитных вентилей, аномального растяжения импульсов и манипуляций частотами.
-
Контур 3 — Временная буферная изоляция и тепловое гашение состояний:
- Подавление остаточных фононных возбуждений и перегрева криостата между сессиями клиентов.
- Динамический расчет аналитической длительности лазерного охлаждения
$\tau_b$ :$$\tau_b = \frac{1}{\eta} \ln \left( \frac{\bar{n}_0 - \dot{n}/\eta}{n^* - \dot{n}/\eta} \right)$$ - Применение пауз охлаждения до тех пор, пока заселенность колебательной моды не достигнет безопасного порога
$\bar{n} \le n^*$ .
-
Контур 4 — Дифференциальная телеметрия и статистический контроль процессов (SPC):
- Мониторинг дрейфа калибровки в реальном времени с использованием метода синтетических частот:
$$\nu_{\text{syn}} = \frac{\nu_+ + \nu_-}{2}$$ - Непараметрический детектор аномалий Колмогорова-Смирнова с адаптивными порогами распределения Стьюдента (
$Z > 3.5\sigma$ /$6.87$ ). - 16-мерный детектор подпространства телеметрии на базе стандартизированного метода главных компонент (
StandardScaler+PCA(4)) для выявления скрытых микроархитектурных каналов утечки.
- Мониторинг дрейфа калибровки в реальном времени с использованием метода синтетических частот:
TurtleShell моделирует 4 канонические аппаратные платформы с физическими параметрами, строго основанными на рецензируемых научных публикациях:
| Идентификатор | Архитектура | Кубиты | Топология взаимодействия | Физические параметры | Аналог в EuroHPC / ЕС |
|---|---|---|---|---|---|
trapped_ion_paul_trap |
Линейная ловушка Пауля ( |
20–50 | Общая колебательная шина | Индивидуальная адресация, скорость нагрева |
AQT IBEX / PINE (Инсбрук / EuroHPC JU) |
sr_optical_lattice |
2D оптическая решетка ( |
100 | Ближайшие соседи (Ридберг) | Оптические дипольные ловушки (~1 мкК в УВВ-камере 300 К), |
PASQAL Fresnel / нейтральные атомы EuroHPC JU |
eagle |
Сверхпроводниковые трансмоны | 127 | Heavy-Hex (фиксированные связи) | Кросс-резонансные вентили, статическая связь |
Стандартная архитектура трансмонов |
heron |
Сверхпроводниковые трансмоны | 133 | Heavy-Hex (перестраиваемые связи) | Быстрые перестраиваемые потоковые связи, подавление наводок ( |
IQM Radiance / Spark (Финляндия / Германия / EuroHPC) |
Люксембург является административной и технологической штаб-квартирой совместного предприятия EuroHPC Joint Undertaking (EuroHPC JU), координирующего квантовые вычисления в Европе (включая LuxProvide MeluXina в Биссене и LuxQCI / EAGLE-1):
-
Ионные ловушки AQT: Модель
trapped_ion_paul_trapнапрямую воспроизводит колебательную динамику и утечки СВЧ-излучения процессоров AQT$^{40}\text{Ca}^+$ , закупаемых для центров EuroHPC. -
Нейтральные атомы (
$^{87}\text{Sr}$ / класс PASQAL): Платформаsr_optical_latticeотражает физику 2D ридберговской блокады ($R_b \approx 5.2,\text{мкм}$ при$a = 4.0,\text{мкм}$ ) европейских нейроатомных систем EuroHPC. -
Сверхпроводниковые процессоры IQM: Модель с перестраиваемыми связями (
heron) моделирует динамическую изоляцию современных европейских процессоров IQM. - Гибридное облако MeluXina: Обеспечивает уровень изоляции Zero-Trust для параллельного выполнения академических и коммерческих квантовых вычислений.
- Режим А (Автономный веб-клиент): Развернут на Cloudflare Pages (https://turtleshell.iqumnov.com), все вычисления происходят на клиенте в изолированной песочнице браузера на TypeScript (
clientEngine.ts) с нулевыми сетевыми задержками. - Режим B (Академический бенчмарк-комплекс
qib): Пакет на Python (packages/quantum-isolation-benchmark) для строгой верификации уравнения Линдблада в QuTiP и автоматизированной генерации отчетов.
Документация построена по фреймворку Diataxis и доступна в docs/README.md.
curl -sSL https://raw.githubusercontent.com/Iqumnov/TurtleShell/main/install.sh | bashgit clone https://github.com/Iqumnov/TurtleShell.git
cd TurtleShell
docker-compose up --buildИнтерфейс доступен по адресу http://localhost:5173.
# Комплексный аудит изоляции по всем 4 платформам
qib benchmark --provider all --output isolation_report.md
# Верификация динамики охлаждения Контура 3 через уравнение Линдблада в QuTiP
qib verify-qutip
# Спектральное планирование задач в условиях атаки Crosstalk
qib schedule --platform heron --tenants 3 --algo spectral| Раздел спецификации | Контур защиты / Функция | Физическое уравнение | Реализация в кодовой базе |
|---|---|---|---|
| §5.1 | Контур 1: Спектральное разбиение | backend/app/simulation/scheduler.py |
|
| §5.1 | Контур 1: Адаптивный LMS-фильтр | backend/app/simulation/defense.py |
|
| §5.2 | Контур 2: Хэширование и аудит | backend/app/ml/models.py |
|
| §5.3 | Контур 3: Буфер лазерного охлаждения | backend/app/simulation/defense.py |
|
| §5.4 | Контур 4: Дифференциальный монитор | backend/app/simulation/defense.py |
|
| §5.4 | Контур 4: Автоэнкодер телеметрии | backend/app/ml/models.py |
|
| §6.0 | Экономика: Финансовая окупаемость | backend/app/main.py |
|
| Lean 4 | Формальные инварианты (0 sorry) |
ПП-определенность |
proofs/TurtleShellProofs.lean |
При использовании программного комплекса TurtleShell в исследованиях просьба указывать ссылку на репозиторий:
@software{igumnov2026turtleshell,
author = {Igumnov, Matvei Dmitrievich},
title = {TurtleShell: Multi-Contour Process Isolation and Side-Channel Defense Framework for Multi-Tenant Quantum Clouds},
year = {2026},
publisher = {GitHub},
version = {1.0.0},
doi = {10.5281/zenodo.24528037},
url = {https://github.com/Iqumnov/TurtleShell}
}Автор заявляет об отсутствии конфликта интересов и личных связей, способных повлиять на результаты разработки.
Матвей Дмитриевич Игумнов (ORCID: 0009-0001-7924-1522)
Кафедра «Информационная безопасность», Московский политехнический университет, Москва, Россия
Email: matvei@iqumnov.com
Проект распространяется под открытой лицензией MIT — подробности в файле LICENSE.