'use client'; interface ModelPerformanceCardProps { vqcAccuracy: number; qaoaAccuracy: number; qnnAccuracy: number; } export default function ModelPerformanceCard({ vqcAccuracy, qaoaAccuracy, qnnAccuracy }: ModelPerformanceCardProps) { const models = [ { name: 'VQC', percentage: vqcAccuracy, weight: 40 }, { name: 'QAOA', percentage: qaoaAccuracy, weight: 30 }, { name: 'QNN', percentage: qnnAccuracy, weight: 30 }, ]; return (
{/* Header */}

QUANTUM MODELS

Performance Overview

{/* Circular Progress Indicators */}
{models.map((model, index) => (
{/* Background circle */} {/* Progress circle */}
{model.percentage}%
{model.name} Weight: {model.weight}%
))}
{/* Ensemble Info */}
ENSEMBLE ACCURACY 20% Quantum Weight
{((vqcAccuracy * 0.4 + qaoaAccuracy * 0.3 + qnnAccuracy * 0.3)).toFixed(1)}% combined quantum
{/* Legend */}
Active
Remaining
); } function Atom({ className }: { className?: string }) { return ( ); } function MoreIcon() { return ( ); }