Squad
Runs a quantum simulation on a squad to forecast aggregated performance improvements, optimize role distributions, and assess overall risk.
Query parameters
squadIdstringRequired
Identifier of the squad to analyze
shotsintegerOptionalDefault:
Number of quantum shots for simulation
1024
Responses
200
Quantum analytics results for the squad
application/json
404
Squad not found
get
GET /api/quantum/squad HTTP/1.1
Host: q.idefi.ai
Accept: */*
{
"squadId": "squad_001",
"predictedSquadImprovement": "7% overall performance boost",
"optimalRoleDistribution": [
"3 Scouts",
"1 Builder",
"1 Defender"
],
"quantumRiskLevel": "Low",
"simulationDuration": "300ms",
"detailedMetrics": {
"aggregatedBitstringProbabilities": {
"000": 0.4,
"001": 0.3,
"010": 0.2,
"011": 0.1
},
"analysis": "Optimizing Scout roles across the squad could yield the highest improvement."
}
}