Build an LR-QAOA circuit for a QUBO problem (synchronous).
Generates the LR-QAOA circuit immediately and returns it.
Args: user (User): User authenticated with api key. data (LRQAOACircuitSubmitModel): Circuit generation parameters. db (Session): The database session.
Returns: CircuitModel: The generated circuit.
Submit model for LR-QAOA circuit generation.
Number of QAOA layers (must be >= 1)
x >= 1Cost operator parameters (length must match p)
Mixer operator parameters (length must match p)
Ramp parameter (typical values are between 0 and 1)
Successful Response
Haiqu Circuit model for Analytics Workflows.
Haiqu circuit is a quantum circuit logged in the Haiqu cloud or generated by Haiqu tools
and enriched with analytics data. It wraps Qiskit QuantumCircuit (qpy property, in the form of QPY dump)
and provides additional methods for analytics and visualization.
Note: that generated circuits (e.g. from data loading or state compression) have the QPY dump available only on the Haiqu cloud, but they can be still converted to regular Qiskit gates and used in other circuits or for execution.
Class for circuit analytics calculation job status.
Submitted, Running analytics computation, Core metrics computation is done, Advanced metrics computation is done, Evolution computation is done, Done, Error Data model for circuit metrics.
Data model for circuit evolution.