pygsti.modelpacks.legacy.std1Q_Cliffords

Variables for working with the a model containing all 24 1-qubit Clifford gates

Module Contents

Functions

processor_spec()

target_model(parameterization_type='full', sim_type='auto')

Returns a copy of the target model in the given parameterization.

Attributes

description

gates

expressions

_target_model

_gscache

clifford_compilation

pygsti.modelpacks.legacy.std1Q_Cliffords.description = The 1-qubit Clifford group
pygsti.modelpacks.legacy.std1Q_Cliffords.gates = ['Gc0', 'Gc1', 'Gc2', 'Gc3', 'Gc4', 'Gc5', 'Gc6', 'Gc7', 'Gc8', 'Gc9', 'Gc10', 'Gc11', 'Gc12',...
pygsti.modelpacks.legacy.std1Q_Cliffords.expressions = ['I(Q0)', 'X(pi/2,Q0):Y(pi/2,Q0)', 'Y(-pi/2,Q0):X(-pi/2,Q0)', 'X(pi,Q0)',...
pygsti.modelpacks.legacy.std1Q_Cliffords._target_model
pygsti.modelpacks.legacy.std1Q_Cliffords._gscache
pygsti.modelpacks.legacy.std1Q_Cliffords.processor_spec()
pygsti.modelpacks.legacy.std1Q_Cliffords.target_model(parameterization_type='full', sim_type='auto')

Returns a copy of the target model in the given parameterization.

Parameters
  • parameterization_type ({"TP", "CPTP", "H+S", "S", ... }) – The gate and SPAM vector parameterization type. See :function:`Model.set_all_parameterizations` for all allowed values.

  • sim_type ({"auto", "matrix", "map", "termorder:X" }) – The simulator type to be used for model calculations (leave as “auto” if you’re not sure what this is).

Returns

Model

pygsti.modelpacks.legacy.std1Q_Cliffords.clifford_compilation