pygsti.tools.optools.project_to_target_eigenspace

pygsti.tools.optools.project_to_target_eigenspace#

project_to_target_eigenspace(model, target_model, eps=1e-06)#

Project each gate of model onto the eigenspace of the corresponding gate within target_model.

Returns the resulting Model.

Parameters:
  • model (Model) – Model to act on.

  • target_model (Model) – The target model, whose gates define the target eigenspaces being projected onto.

  • eps (float, optional) – Small magnitude specifying how much to “nudge” the target gates before eigen-decomposing them, so that their spectra will have the same conjugacy structure as the gates of model.

Return type:

Model