Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Quantum Operations - Quantum Music</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/animejs/lib/anime.iife.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <style> | |
| :root { | |
| --quantum-purple: #6e45e2; | |
| --quantum-teal: #88d3ce; | |
| --quantum-pink: #ff2a6d; | |
| --quantum-blue: #05d9e8; | |
| --quantum-dark: #0c0f1f; | |
| --quantum-darker: #080a1a; | |
| } | |
| .quantum-bg { | |
| background: linear-gradient(135deg, var(--quantum-dark), var(--quantum-darker)); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .quantum-bg::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: | |
| radial-gradient(circle at 10% 20%, rgba(110, 69, 226, 0.1) 0%, transparent 20%), | |
| radial-gradient(circle at 90% 80%, rgba(136, 211, 206, 0.1) 0%, transparent 20%), | |
| radial-gradient(circle at 50% 50%, rgba(5, 217, 232, 0.05) 0%, transparent 30%); | |
| z-index: 0; | |
| } | |
| .quantum-card { | |
| background: rgba(255, 255, 255, 0.05); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| border-radius: 16px; | |
| transition: all 0.3s ease; | |
| } | |
| .quantum-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 30px rgba(110, 69, 226, 0.2); | |
| border-color: rgba(110, 69, 226, 0.3); | |
| } | |
| .quantum-header { | |
| background: rgba(12, 15, 31, 0.8); | |
| backdrop-filter: blur(10px); | |
| position: sticky; | |
| top: 0; | |
| z-index: 100; | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.05); | |
| } | |
| .quantum-nav a { | |
| position: relative; | |
| padding: 8px 0; | |
| } | |
| .quantum-nav a::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| width: 0; | |
| height: 2px; | |
| background: var(--quantum-blue); | |
| transition: width 0.3s ease; | |
| } | |
| .quantum-nav a:hover::after { | |
| width: 100%; | |
| } | |
| .circuit-board { | |
| background: rgba(10, 12, 25, 0.7); | |
| border-radius: 12px; | |
| padding: 20px; | |
| min-height: 300px; | |
| position: relative; | |
| overflow: hidden; | |
| border: 1px solid rgba(110, 69, 226, 0.2); | |
| } | |
| .circuit-grid { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: | |
| linear-gradient(rgba(110, 69, 226, 0.1) 1px, transparent 1px), | |
| linear-gradient(90deg, rgba(110, 69, 226, 0.1) 1px, transparent 1px); | |
| background-size: 20px 20px; | |
| opacity: 0.3; | |
| } | |
| .circuit-line { | |
| position: absolute; | |
| height: 3px; | |
| background: linear-gradient(90deg, var(--quantum-purple), var(--quantum-teal)); | |
| transform-origin: left; | |
| border-radius: 2px; | |
| } | |
| .quantum-gate { | |
| position: absolute; | |
| width: 50px; | |
| height: 50px; | |
| background: linear-gradient(135deg, var(--quantum-purple), var(--quantum-teal)); | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: bold; | |
| color: white; | |
| box-shadow: 0 0 15px rgba(110, 69, 226, 0.5); | |
| border: 2px solid rgba(255, 255, 255, 0.1); | |
| transition: all 0.3s ease; | |
| } | |
| .quantum-gate:hover { | |
| transform: scale(1.1); | |
| box-shadow: 0 0 20px rgba(110, 69, 226, 0.8); | |
| } | |
| .quantum-param { | |
| transition: all 0.3s ease; | |
| } | |
| .quantum-param:hover { | |
| transform: scale(1.05); | |
| } | |
| .quantum-param-number { | |
| font-size: 2.5rem; | |
| font-weight: 700; | |
| background: linear-gradient(45deg, var(--quantum-purple), var(--quantum-teal)); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-900 text-white min-h-screen"> | |
| <div class="quantum-bg min-h-screen"> | |
| <!-- Header --> | |
| <header class="quantum-header container mx-auto py-4 px-4"> | |
| <div class="flex justify-between items-center"> | |
| <h1 class="text-3xl font-bold">Quantum Music Synthesizer</h1> | |
| <nav class="quantum-nav"> | |
| <ul class="flex space-x-8"> | |
| <li><a href="index.html" class="hover:text-purple-300 font-medium">Home</a></li> | |
| <li><a href="synthesizer.html" class="hover:text-purple-300 font-medium">Synthesizer</a></li> | |
| <li><a href="quantum.html" class="hover:text-purple-300 font-medium">Quantum</a></li> | |
| <li><a href="visualization.html" class="hover:text-purple-300 font-medium">Visualization</a></li> | |
| <li><a href="about.html" class="hover:text-purple-300 font-medium">About</a></li> | |
| <li><a href="api.html" class="hover:text-purple-300 font-medium">API</a></li> | |
| <li><a href="agent.html" class="hover:text-purple-300 font-medium">Agent</a></li> | |
| <li><a href="community.html" class="hover:text-purple-300 font-medium">Community</a></li> | |
| </ul> | |
| </nav> | |
| </div> | |
| </header> | |
| <!-- Quantum Operations Section --> | |
| <section class="container mx-auto py-16 px-4"> | |
| <h2 class="text-4xl font-bold text-center mb-12">Quantum Operations</h2> | |
| <div class="max-w-6xl mx-auto grid grid-cols-1 lg:grid-cols-2 gap-8"> | |
| <div class="quantum-card p-8"> | |
| <h3 class="text-2xl font-bold mb-6 text-center">Quantum Circuit</h3> | |
| <div class="circuit-board"> | |
| <div class="circuit-grid"></div> | |
| <!-- Circuit visualization will be animated here --> | |
| <div class="circuit-line" style="top: 60px; left: 50px; width: 250px;"></div> | |
| <div class="circuit-line" style="top: 120px; left: 50px; width: 250px;"></div> | |
| <div class="circuit-line" style="top: 180px; left: 50px; width: 250px;"></div> | |
| <div class="circuit-line" style="top: 240px; left: 50px; width: 250px;"></div> | |
| <div class="quantum-gate" style="top: 45px; left: 100px;">H</div> | |
| <div class="quantum-gate" style="top: 105px; left: 150px;">X</div> | |
| <div class="quantum-gate" style="top: 165px; left: 200px;">Z</div> | |
| <div class="quantum-gate" style="top: 225px; left: 250px;">CNOT</div> | |
| </div> | |
| </div> | |
| <div class="space-y-6"> | |
| <div class="quantum-card p-6"> | |
| <h3 class="text-xl font-bold mb-3">Superposition</h3> | |
| <p>Quantum bits exist in multiple states simultaneously, creating rich harmonic possibilities.</p> | |
| </div> | |
| <div class="quantum-card p-6"> | |
| <h3 class="text-xl font-bold mb-3">Entanglement</h3> | |
| <p>Correlated quantum states produce complex musical relationships and patterns.</p> | |
| </div> | |
| <div class="quantum-card p-6"> | |
| <h3 class="text-xl font-bold mb-3">Measurement</h3> | |
| <p>Collapsing quantum states into musical notes through probabilistic outcomes.</p> | |
| </div> | |
| <div class="quantum-card p-6"> | |
| <h3 class="text-xl font-bold mb-3">Interference</h3> | |
| <p>Constructive and destructive interference creates dynamic musical textures.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="max-w-6xl mx-auto mt-16 quantum-card p-8"> | |
| <h3 class="text-2xl font-bold mb-6 text-center">Quantum Parameters</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
| <div class="quantum-param quantum-card p-6 text-center"> | |
| <div class="quantum-param-number">99.5%</div> | |
| <div class="text-gray-300">Adiabatic Success</div> | |
| </div> | |
| <div class="quantum-param quantum-card p-6 text-center"> | |
| <div class="quantum-param-number">Φ+</div> | |
| <div class="text-gray-300">Bell State</div> | |
| </div> | |
| <div class="quantum-param quantum-card p-6 text-center"> | |
| <div class="quantum-param-number">GHZ</div> | |
| <div class="text-gray-300">4-Qubit Entanglement</div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="container mx-auto py-8 px-4 text-center border-t border-gray-800"> | |
| <p class="text-gray-400">Powered by QuantumToolbox.jl, Amazon Braket, and Lindblad Solvers</p> | |
| </footer> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| // Animate circuit lines | |
| anime({ | |
| targets: '.circuit-line', | |
| width: [0, 250], | |
| delay: anime.stagger(200), | |
| duration: 1000, | |
| easing: 'easeInOutQuad' | |
| }); | |
| // Animate quantum gates | |
| anime({ | |
| targets: '.quantum-gate', | |
| scale: [0, 1], | |
| delay: anime.stagger(300, {start: 500}), | |
| duration: 800, | |
| elasticity: 600, | |
| loop: true, | |
| direction: 'alternate' | |
| }); | |
| </script> | |
| </body> | |
| </html> | |