pygsti.tools.internalgates.standard_gatenames_qiskit_conversions

pygsti.tools.internalgates.standard_gatenames_qiskit_conversions#

standard_gatenames_qiskit_conversions()#

A dictionary converting the gates with standard names to the Qiskit gates/names.

See standard_gatename_unitaries().

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.

Later versions of qiskit may be able to utilize an accelerated circuit append.

Returns:

Maps pyGSTi gatenames to tuples of the qiskit gate class, gatename, and a boolean that indicates whether the append of the gate to the circuit can be accelerated in a later version of qiskit.

Return type:

dict[str, tuple[qiskit.circuit.Instruction, str, bool]]