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

Fixesapply_channel #155

Merged
merged 1 commit into from
May 28, 2023
Merged

Fixesapply_channel #155

merged 1 commit into from
May 28, 2023

Conversation

georgios-ts
Copy link
Contributor

Description

This commit starts by fixing apply_channel when:

  1. A Choi representation of the input quantum channel is used. The code was originally
    ported from QETLAB but order="F" to match MATLAB convention was omitted
    while reshaping a matrix.
  2. A Kraus representation of a completely positive channel is used.

Afterwards issues with:

  1. partial_channel
  2. documentation errors, and
  3. test cases where a wrong answer was being verified

were identified and fixed.

Fixes #144.

Status

  • Ready to go

1. A Choi representation of the input quantum channel is used. The code was originally
   ported from QETLAB but `order=F` to match MATLAB convention was omitted while
   reshaping a matrix.
2. A Kraus representation of a completely positive channel is used.

Afterwards issues with:
1. `partial_channel`
2. documentation errors, and
3. test cases where a wrong answer was being verified
were identified and fixed.
@vprusso
Copy link
Owner

vprusso commented May 28, 2023

It is wonderful to see you here again, @georgios-ts !

As usual, your contributions are great, and the toqito project has been made substantially better thanks to your contributions. I want to personally thank you for your excellent work and I hope to see future contributions from you!

One minor point:
I want to ensure that you are assigned to this issue so you can claim the bounty. After a bit of searching around, it seems like you'll need to comment on the thread here to show up in a list of assignees. Once you do so, I'll assign you to the list!

@vprusso vprusso merged commit bd5f22b into vprusso:master May 28, 2023
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.

Question/Bug: Not able to apply channel correctly
2 participants