pygsti.tools.internalgates.standard_gatenames_cirq_conversions

pygsti.tools.internalgates.standard_gatenames_cirq_conversions#

standard_gatenames_cirq_conversions()#

A dictionary converting the gates with standard names to the cirq names for these gates.

See standard_gatename_unitaries().

By default, an idle operation will not be converted to a gate. If you want an idle to be converted to a cirq.WaitGate, you will have to modify this dictionary.

Note that throughout pyGSTi the standard gatenames (e.g., ‘Gh’ for Hadamard) are not enforced to correspond to the expected unitaries. So, if the user as, say, defined ‘Gh’ to be something other than the Hadamard gate this conversion dictionary will be incorrect.

Currently there are some standard gate names with no conversion to cirq.

Returns:

dict mapping strings corresponding to standard built-in pyGSTi names to corresponding cirq operation objects.

Return type:

std_gatenames_to_cirq