Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Virtual Z-gate Loss #86

Closed
5 of 14 tasks
aarontrowbridge opened this issue May 6, 2024 · 2 comments
Closed
5 of 14 tasks

[Feature]: Virtual Z-gate Loss #86

aarontrowbridge opened this issue May 6, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@aarontrowbridge
Copy link
Member

Feature Description

In certain situations, it is convenient to define a unitary infidelity loss that takes into account the ability of the hardware to easily handle virtual Z-gates. A loss can be written down for this in the form of

$$ \ell(U, \theta) = \mathcal{F}\left( \left(\bigotimes_\alpha Z(\theta_\alpha) \right) U, U_{\text{goal}} \right). $$

Here $\theta$ is a vector of free Z-rotation angles, that are also decision variables. An issue in NamedTrajectories.jl will provide the functionality to store "global" parameters -- parameters that don't depend on time -- to be used as decision variables in the optimizer.

Completing this issue requires:

  • implementing functionality to handle global parameters stored in a NamedTrajectory
  • implementing the loss defined above with derivatives (either autodiff or tested analytic derivatives)
  • documentation for the use of this objective
  • a problem template for setting up these types of problems
  • test for the problem templates

Importance

3

What does this feature affect?

  • quantum system construction
  • problem setup
  • problem solution
  • problem performance
  • solution analysis
  • plotting
  • documentation
  • tests
  • other (please specify below)

Other information

No response

@aarontrowbridge aarontrowbridge added the enhancement New feature or request label May 6, 2024
@andgoldschmidt andgoldschmidt self-assigned this Aug 14, 2024
@andgoldschmidt
Copy link
Member

implemented in #149, interface and documentation to come

@andgoldschmidt
Copy link
Member

cross reference kestrelquantum/NamedTrajectories.jl#47 for global data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants