pygsti.tools.internalgates.qiskit_gatenames_standard_conversions

pygsti.tools.internalgates.qiskit_gatenames_standard_conversions#

qiskit_gatenames_standard_conversions()#

A dictionary converting Qiskit gates (based on Instruction.name) to built-in pyGSTi names for these gates. Additional flag in dict value indicates if the gate has params.

Does not currently support conversion of all qiskit gate types.

Returns:

  • Dictionary mapping qiskit gate names to pyGSTi gate names and a flag

  • for whether or not the gate has parameters.

Return type:

Dict[str, List[str, bool]]