Skip to content

Conversation

@andgoldschmidt
Copy link
Member

For Unitary problem templates, add the ability to pass phase operators. These create global parameters in the named trajectory, and the optimizer is allowed to rotate by these free phases after the pulse.

  • Adds free phase infidelity to losses
  • Adds free phase objectives
  • Introduces if/else block to switch in phase_operators arg in problem
  • Fixes bugs from previous implementations

NOTE A future feature would be to move some information into the problem params, such as phase operators and the goal subspace.

The isomorphisms are also updated to account for type conversion issues, with new tests.

@andgoldschmidt andgoldschmidt merged commit 46a6f19 into main Nov 9, 2024
3 checks passed
@andgoldschmidt andgoldschmidt deleted the fix_free-phase-obj branch November 11, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants