pygsti.tools.internalgates.standard_gatenames_chp_conversions#
- standard_gatenames_chp_conversions()#
A dictionary converting the gates with standard names to CHP native operations.
See
standard_gatename_unitaries().Note that the native operations are assumed to act on qubit 0 or qubits 0 and 1, depending on whether it is a one-qubit or two-qubit operation. It is recommended to use ComposedOp and EmbeddedOp to get compositions/different target qubits for CHP operations.
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.
- Return type:
dict mapping strings to string