Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Add dynamical decoupling pass #367

Merged
merged 73 commits into from
Aug 24, 2022
Merged
Changes from 1 commit
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
450922b
Fix lint for Qiskit main branch.
taalexander Jul 6, 2022
5c61448
Fix sphinx language configuration.
taalexander Jul 6, 2022
0658c7a
Add initial scaffolding for dynamic_circuits module.
taalexander Jun 17, 2022
4dbe92a
Add a dummy test.
taalexander Jun 17, 2022
44a7afb
Add reno.
taalexander Jun 17, 2022
8aa3365
Add initial qiskit DynamicalDecoupling scheduling scaffolding and tests.
taalexander Jun 17, 2022
06f9d86
Refactor scheduler with visitor pattern.
taalexander Jun 19, 2022
a518281
Refactor nodes to no longer return. Remove special handling for class…
taalexander Jun 19, 2022
bfcfe2e
Add block based scheduling and updated tests for dynamic circuits typ…
taalexander Jun 27, 2022
9a0955c
Refactor padder class.
taalexander Jul 5, 2022
1744ae4
Base padding is working.
taalexander Jul 5, 2022
4340be0
Remove debug statements.
taalexander Jul 5, 2022
9e2d5ae
Update non conditional tests to pass.
taalexander Jul 5, 2022
3cd3859
c_if scheduling tests are working.
taalexander Jul 5, 2022
b48951d
All tests passing.
taalexander Jul 5, 2022
3efa7da
All dynamic circuits tests passing.
taalexander Jul 6, 2022
96e02fb
Black formatting.
taalexander Jul 6, 2022
9dddf1e
Move the dynamic_circuits module to a generic transpiler module.
taalexander Jul 6, 2022
2442d1e
Blackify
taalexander Jul 6, 2022
7e144e9
Linting.
taalexander Jul 6, 2022
42c8bc8
Blackify.
taalexander Jul 6, 2022
615f03c
Reach black and pylint fixed point.
taalexander Jul 6, 2022
70ae09d
Mypyify the code.
taalexander Jul 6, 2022
36c611e
Merge branch 'main' into add-scheduling-pass
rathishcholarajan Jul 6, 2022
b4f8f9b
Add initial scaffolding for dynamic_circuits module.
taalexander Jun 17, 2022
af86472
Add a dummy test.
taalexander Jun 17, 2022
b42cf0c
Add reno.
taalexander Jun 17, 2022
0bef47b
Add initial qiskit DynamicalDecoupling scheduling scaffolding and tests.
taalexander Jun 17, 2022
f97fa79
Refactor scheduler with visitor pattern.
taalexander Jun 19, 2022
e9db084
Refactor nodes to no longer return. Remove special handling for class…
taalexander Jun 19, 2022
eab1fdb
Add block based scheduling and updated tests for dynamic circuits typ…
taalexander Jun 27, 2022
dc4ea34
Refactor padder class.
taalexander Jul 5, 2022
6e173a5
Base padding is working.
taalexander Jul 5, 2022
f490053
Remove debug statements.
taalexander Jul 5, 2022
ccbad76
Update non conditional tests to pass.
taalexander Jul 5, 2022
25bba97
c_if scheduling tests are working.
taalexander Jul 5, 2022
65760f3
All tests passing.
taalexander Jul 5, 2022
d7cbdd5
All dynamic circuits tests passing.
taalexander Jul 6, 2022
2be8de8
Black formatting.
taalexander Jul 6, 2022
eb33397
Move the dynamic_circuits module to a generic transpiler module.
taalexander Jul 6, 2022
8deed38
Blackify
taalexander Jul 6, 2022
bf0807b
Linting.
taalexander Jul 6, 2022
8b4a602
Blackify.
taalexander Jul 6, 2022
5ac8693
Reach black and pylint fixed point.
taalexander Jul 6, 2022
8f49cb1
Mypyify the code.
taalexander Jul 6, 2022
53ad4b4
Merge remote-tracking branch 'origin/add-scheduling-pass' into add-sc…
taalexander Jul 6, 2022
209cc8e
Rename BasePadding to BlockBasePadder.
taalexander Jul 6, 2022
89e7fba
Fix broken tests by Qiskit upgrade.
taalexander Jul 6, 2022
ee823a5
Move tests into unit.
taalexander Jul 6, 2022
4c33ca7
linting.
taalexander Jul 6, 2022
aea5473
Update documentation.
taalexander Jul 6, 2022
ea37d66
Fix requirements dev for matplotlib drawer./
taalexander Jul 6, 2022
69cbab4
Chain qargs and cargs.
taalexander Jul 6, 2022
b1943a6
Update pulse block comment.
taalexander Jul 6, 2022
2b971b3
Update measurement comment.
taalexander Jul 6, 2022
44a1905
Add t0 comment.
taalexander Jul 6, 2022
2d995df
Move scheduler unit tests.
taalexander Jul 6, 2022
931fe00
Make scheduler idempotent.
taalexander Jul 7, 2022
783d608
Operations on qubits already measured trigger block termination.
taalexander Jul 7, 2022
b777249
Black.
taalexander Jul 7, 2022
81596b1
Update comment on _visit_measure qargs.
taalexander Aug 11, 2022
d50b28b
Update comment typo.
taalexander Aug 11, 2022
97e5bcd
Update comment on neighbor ordering.
taalexander Aug 11, 2022
b5d9e31
Add comments.
taalexander Aug 11, 2022
be11a0b
Update docs.
taalexander Jul 6, 2022
e2f7f2c
Ported dynamical decoupling pass and all tests to the dynamic circuit…
taalexander Jul 6, 2022
9c4d476
Tests passing outside of scheduling fixes required.
taalexander Jul 6, 2022
8e7b4c4
Dynamical decoupling tests passing.
taalexander Jul 7, 2022
2d15470
Add dynamical decoupling c_if test.
taalexander Jul 7, 2022
f9be274
Add working documentation.
taalexander Jul 7, 2022
8f1ac4f
Reno added.
taalexander Jul 7, 2022
065b71d
Add quick comment.
taalexander Aug 11, 2022
3c27aeb
Merge remote-tracking branch 'upstream/main' into add-dynamical-decou…
taalexander Aug 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update comment on _visit_measure qargs.
taalexander committed Aug 11, 2022
commit 81596b178282e523a15b30d4fd06b3f12d53957b
2 changes: 2 additions & 0 deletions qiskit_ibm_provider/transpiler/passes/scheduling/scheduler.py
Original file line number Diff line number Diff line change
@@ -184,6 +184,8 @@ def _visit_measure(self, node: DAGNode) -> None:
which begins another grouping sequence. This behavior will change in future
backend software updates."""
current_block_measure_qargs = self._current_block_measure_qargs()
# We handle a set of qubits here as _visit_reset currently calls
# this method and a reset may have multiple qubits.
measure_qargs = set(node.qargs)

t0q = max(