Versions in this module Expand all Collapse all v1 v1.0.0 Sep 3, 2025 Changes in this version + func DefaultBatchStrategy(circuits []*Circuit) [][]*Circuit + type BatchStrategy func([]*Circuit) [][]*Circuit + type Circuit = circuits.Circuit + type Config struct + BatchSize int + CostLimit float64 + Device string + EnableMetrics bool + MaxRetries int + MockEndpoint string + QueueSize int + RateLimit int + Region string + Timeout time.Duration + Workers int + type GroverConfig struct + DatabaseSize int + MarkedItem int + Qubits int + Shots int + type GroverResult struct + FoundItem int + Iterations int + Probability float64 + Results []Result + type Metrics struct + APICalls uint64 + AvgBatchSize float64 + CostSavings float64 + QueueDepth int + TasksCompleted uint64 + TasksFailed uint64 + TasksSubmitted uint64 + TotalCostCents uint64 + type Orchestrator struct + func New(config Config) (*Orchestrator, error) + func (o *Orchestrator) Close() error + func (o *Orchestrator) GetMetrics() Metrics + func (o *Orchestrator) GetQueueStats() QueueStats + func (o *Orchestrator) Grover(config GroverConfig) (*GroverResult, error) + func (o *Orchestrator) QAOA(config QAOAConfig) (*QAOAResult, error) + func (o *Orchestrator) Shutdown() error + func (o *Orchestrator) VQE(config VQEConfig) (*VQEResult, error) + type QAOAConfig struct + Graph [][]int + Layers int + Parameters []QAOAParams + Qubits int + Shots int + func (c QAOAConfig) Validate() error + type QAOAParams struct + Beta []float64 + Gamma []float64 + type QAOAResult struct + BestBeta float64 + BestGamma float64 + Confidence float64 + OptimalValue float64 + Results []Result + type QueueStats struct + Dequeued uint64 + Enqueued uint64 + type Result struct + CircuitID string + Counts map[string]int + Measurements []string + Metadata map[string]string + type Task struct + Circuit *circuits.Circuit + ProgramSet *braket.ProgramSet + ResultChan chan *TaskResult + Shots int + Type TaskType + type TaskResult struct + Error error + Results []Result + type TaskType int + const TaskTypeProgramSet + const TaskTypeSingleCircuit + type VQEConfig struct + Ansatz string + Parameters []float64 + Qubits int + Shots int + type VQEResult struct + Energy float64 + Parameters []float64 + Results []Result