Contains meta statements which allow more optimal code while making it easier for users to write their code. Examples are with Compute, followed by an automatic uncompute or with Control, which allows the user to condition an entire code block upon the state of a qubit.
.. autosummary::
projectq.meta.DirtyQubitTag
projectq.meta.QubitPlacementTag
projectq.meta.LoopTag
projectq.meta.Loop
projectq.meta.Compute
projectq.meta.Uncompute
projectq.meta.CustomUncompute
projectq.meta.ComputeTag
projectq.meta.UncomputeTag
projectq.meta.Control
projectq.meta.get_control_count
projectq.meta.Dagger
projectq.meta.insert_engine
projectq.meta.drop_engine_after
.. automodule:: projectq.meta
:members:
:undoc-members:
:special-members: __init__
:imported-members: