Utilities#
|
This functions facilitates the measurement of multiple QuantumVariables at the same time. |
|
Decorator to bundle up the quantum instructions of a function into a single gate object. |
|
The |
|
Shorthand for |
|
Decorator to turn a function returning a QuantumVariable into an in-place function. |
|
Decorator that recieves a regular Python function (returning a float) and returns a function of QuantumVariables, applying phases based on the function's output. |
|
Locks a list of qubits, implying an error will be raised if the user tries to perform any operation involving these qubits. |
|
Reverses the effect of "lock". |
|
Locks a list of qubits such that only permeable gates can be executed on these qubits. |
|
Reverses the effect of "perm_lock". |
|
This function returns the T-depth of an Operation object. |
This function returns the CNOT-depth of an Operation object. |
|
|
This function runs tests on a desired inplace addition function. |