pygsti.tools.internalgates.internal_gate_unitaries

pygsti.tools.internalgates.internal_gate_unitaries#

internal_gate_unitaries()#

The unitaries for the internally defined gates.

These are gates that are used in some circuit-compilation methods internally (e.g., compiling multi-qubit Clifford gates), and under normal usage of functions/methods that internally make use of these labels, circuits containing these gate names will not be returned to the user – they are first converted into gates with user-defined names and actions (with names starting with ‘G’).

Note that some unitaries in this dict do not have unique names. E.g., the key ‘I’ is the 1-qubit identity unitary, but so is ‘C0’ (which refers to the zeroth element of the 1-qubit Clifford group).

Return type:

dict of numpy.ndarray objects that are complex, unitary matrices.