Skip to content

Commit

Permalink
More doc
Browse files Browse the repository at this point in the history
  • Loading branch information
BoxiLi committed Nov 16, 2021
1 parent b59f087 commit 359e499
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
def _verify_scheduled_circuit(circuit, gate_cycle_indices):
"""
Compare results between the original and the scheduled circuit.
The input gate_cycle_indices is the scheduling result,
i.e., a list of integers denoting the execution cycle of each gate in the circuit.
"""
result0 = gate_sequence_product(circuit.propagators())
scheduled_gate = [[] for i in range(max(gate_cycle_indices) + 1)]
Expand Down

0 comments on commit 359e499

Please sign in to comment.