Skip to content

Commit

Permalink
[QI2-1126] Added compiler_configs to static reply
Browse files Browse the repository at this point in the history
  • Loading branch information
NischalQuTech committed Oct 29, 2024
1 parent 1c48872 commit fd7d1d6
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/request/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ This message does not require any additional information in the payload section.
| `name` | `str` | Name of the system |
| `pgs` | `list[str]` | Supported primitive gates set of the system. Gate names as described in cQASM (in uppercase). |
| `starttime` | `float` | Timestamp of start-up of the system (return value of `time.time()`) |
| `compiler_config` | `dict[str,list[dict[str, Any]]]` | Compiler configurations for different stages. Keys represent stage names (e.g., "mapped"), and values are list of passes. Each pass includes settings such as the pass name, corresponding method invoked by opensquirrel and additional keyword arguments. |

##### Get static reply example

Expand All @@ -230,7 +231,18 @@ This message does not require any additional information in the payload section.
"X",
"Y"
],
"starttime": 1690061619.610174
"starttime": 1690061619.610174,
"compiler_config": {
"mapped": [
{
"pass": "opensquirrel.decomposers.MckayDecomposer",
"method": "decompose",
"kwargs": {
"merge_single_qubit_gates": true
}
}
]
}
},
"version": "0.1.0"
}
Expand Down

0 comments on commit fd7d1d6

Please sign in to comment.