batchGroup
Specifies batch groups for parallel execution of qubit tasks.
Schema¶
Properties¶
Property |
Type |
Description |
---|---|---|
|
|
Name of the group. |
|
|
List of qubit groups targeted by experiments in parallel. If not specified, all qubits will be targeted at once. |
Examples¶
Specifying batch group for all qubits¶
If you want a task to be run simultaneously on all qubits, you don't have to specify the qubits
property. In such it is enough to specify just the name of the batch group:
Manual selection of qubits in batch groups¶
Suppose you have a linear topology QPU with 8 qubits, and you’ve determined that measuring any qubit does not affect the result of measuring another, provided there are at least two qubits between them, e.g. you can run measurements on qubits 1, 4, and 7 at the same time without any loss of precision. In this case, you can define the following batch groups:
If you use this group in a task, it will result in the task being run on qubits Q1
, Q4
, and Q7
simultaneously. After completion, the task will be run on Q2
, Q5
, and Q8
, again at the same time. Finally, it will run simultaneously on Q3
and Q3
.