Photonic Quantum Control System Communication Protocol Document ================================ Project Introduction -------- This document describes the communication protocol of the photonic quantum measurement and control system, including message definitions, subscription messages, type definitions, and instruction definitions, etc. The system uses ZeroMQ+Json as the communication protocol basis, supporting efficient communication between the PilotOS system and the measurement and control system. Document structure -------- - **Communication Protocol**:The basic ZeroMQ+Json communication protocol used by the system is introduced, including the selection of the request response model - **Message Definition**:It has detailedly defined the message formats of various request-response modes, including sending computing tasks, querying task status, returning computing results, heartbeat messages, etc - **Subscription Messages**:The formats of various push messages have been defined, including task status, chip configuration information update flags, chip resource status, automatic calibration information, and chip maintenance information - **Type Definitions**:It defines types such as task status and error codes, including detailed descriptions of task status codes and error codes - **Instruction Definitions**:The basic gate types and parameter descriptions of the photonic quantum platform have been defined, including various supported quantum gate operations