Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docu to mention barrier instructions. #28

Merged
merged 3 commits into from
May 23, 2022
Merged
Changes from 1 commit
Commits
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
10 changes: 10 additions & 0 deletions src/iqm_client/iqm_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
measurement >= 1 ``key: str`` Measurement in the Z basis.
phased_rx 1 ``angle_t: float``, ``phase_t: float`` Phased x-rotation gate.
cz 2 Controlled-Z gate.
barrier >= 2 Barrier instruction.
================ =========== ====================================== ===========

Measurement
Expand Down Expand Up @@ -76,6 +77,15 @@
Example: ``Instruction(name='cz', qubits=['alice', 'bob'], args={})``


Barrier
-------

Barrier operations ensure that all operations after the barrier on the qubit subsystems spanned by
the barrier are only executed when all the operations before the barrier have been completed.

Example: ``Instruction(name='barrier', qubits=['alice', 'bob'], args={})``


Circuit output
==============

Expand Down