File size: 10,881 Bytes
aff32dd
 
 
 
 
 
 
 
 
 
 
 
748379a
 
 
 
 
 
 
 
 
aff32dd
748379a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
aff32dd
748379a
 
 
aff32dd
748379a
aff32dd
748379a
 
aff32dd
 
 
 
748379a
 
 
 
 
 
 
 
 
 
 
 
 
 
aff32dd
748379a
aff32dd
 
748379a
 
aff32dd
748379a
aff32dd
748379a
aff32dd
 
 
 
748379a
aff32dd
 
 
 
 
 
748379a
 
 
aff32dd
748379a
 
 
 
9bd30cb
748379a
 
 
9bd30cb
748379a
 
 
 
 
 
 
 
 
 
 
 
9bd30cb
aff32dd
 
 
748379a
aff32dd
748379a
aff32dd
748379a
 
 
 
 
 
 
 
954fb1d
 
971d57f
 
954fb1d
748379a
aff32dd
 
 
748379a
 
aff32dd
748379a
 
 
aff32dd
748379a
aff32dd
748379a
 
 
 
aff32dd
748379a
 
 
 
aff32dd
 
 
748379a
 
 
aff32dd
 
 
748379a
 
aff32dd
 
 
748379a
 
aff32dd
 
748379a
 
 
 
 
aff32dd
 
 
748379a
 
aff32dd
748379a
 
 
aff32dd
748379a
 
 
aff32dd
748379a
 
 
aff32dd
 
 
 
 
 
748379a
 
aff32dd
 
748379a
aff32dd
 
 
 
748379a
aff32dd
 
 
 
 
 
 
 
 
 
 
748379a
 
 
aff32dd
 
 
748379a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<!DOCTYPE html>
<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>