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

Migrate more katas to quantum.microsoft.com #1185

Closed
7 tasks done
tcNickolas opened this issue Feb 21, 2024 · 23 comments
Closed
7 tasks done

Migrate more katas to quantum.microsoft.com #1185

tcNickolas opened this issue Feb 21, 2024 · 23 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed katas

Comments

@tcNickolas
Copy link
Member

tcNickolas commented Feb 21, 2024

There are multiple katas in the Quantum Katas project that cannot be used with the modern QDK, and are straightforward to migrate to the new katas experience. I don't have detailed notes for each of them, so I think we can track them all in this one issue.

  • BasicGates: makes sense to split it, add tasks 1.1-1.7 to the end of the Single-Qubit Gates kata, 1.8-1.10 - to the end of the Multi-Qubit Systems kata, 2.1-2.6 - to Multi-Qubit Gates kata
  • Superposition: I started migration already, need to finish the rest of the tasks (I've updated the infrastructure to support solutions without adjoint, so we can migrate all content)
  • Measurements (renamed to Distinguishing Quantum States): add as a standalone kata after Multi-Qubit Measurements, testing infra should be similar to that one
  • DistinguishUnitaries: add as a standalone kata after Measurements, needs its own infra but should be similar to existing Measurements
  • Teleportation: add after DistinguishUnitaries
  • SuperdenseCoding: add after Teleportation
  • MarkingOracles: add after existing Oracles kata, include tasks 1.5, 1.6, and 1.8 from Migrate ExploringDeutschJozsaAlgorithm kata to quantum.microsoft.com #1156 (task 1.8 is a building block for majority task from MarkingOracles)
@tcNickolas tcNickolas added enhancement New feature or request katas labels Feb 21, 2024
@jkingdon-ms
Copy link
Contributor

I will be working on migrating Superposition Kata - Task 1.6 (Bell state)

@tcNickolas tcNickolas added good first issue Good for newcomers help wanted Extra attention is needed labels Mar 6, 2024
@jkingdon-ms
Copy link
Contributor

I will be working on migrating Superposition Kata - Task 1.7 (All Bell states)

github-merge-queue bot pushed a commit that referenced this issue Mar 13, 2024
# Adding Bell State Kata

This resolves part of #1185 .

---------

Co-authored-by: James Kingdon <[email protected]>
Co-authored-by: Mariia Mykhailova <[email protected]>
github-merge-queue bot pushed a commit that referenced this issue Mar 19, 2024
# Adding All Bell States Kata

This resolves part of #1185 .

---------

Co-authored-by: James Kingdon <[email protected]>
Co-authored-by: Alex Hansen <[email protected]>
Co-authored-by: Mariia Mykhailova <[email protected]>
@jkingdon-ms
Copy link
Contributor

jkingdon-ms commented Mar 20, 2024

I will be working on migrating Superposition Kata - Tasks 1.8, 1.9, 1.10

@SakthiVijayS
Copy link

I will be working on migrating Superdense Coding Kata

@WWhitedogi
Copy link
Contributor

I will be working on migrating tasks 1.1-1.7 to Single-Qubit Gates, tasks 1.8-1.10 to Multi-Qubit Systems, tasks 2.1-2.6 to Multi-Qubit Gates.

github-merge-queue bot pushed a commit that referenced this issue Apr 2, 2024
This resolves part of #1185 .

---------

Co-authored-by: James Kingdon <[email protected]>
Co-authored-by: Mariia Mykhailova <[email protected]>
@jkingdon-ms
Copy link
Contributor

I will be working on migrating Superposition Kata - Tasks 1.11, 1.12

@frtibble
Copy link
Contributor

I am working on Superposition Task 1.13

github-merge-queue bot pushed a commit that referenced this issue Apr 15, 2024
This resolves part of #1185 .

---------

Co-authored-by: James Kingdon <[email protected]>
Co-authored-by: Mariia Mykhailova <[email protected]>
@devikamehra
Copy link
Contributor

I am working on migration of Teleportation Kata

@Manvi-Agrawal
Copy link
Contributor

@tcNickolas, I would like to pick SuperDenseCoding kata

@jkingdon-ms
Copy link
Contributor

I will be working on migrating Superposition Kata - Tasks 2.2, 2.3

@tcNickolas
Copy link
Member Author

For everyone who will work on a task that relies on the previous tasks' solutions (and we're getting there with teleport and superdense coding protocols): with the current infrastructure, each task of a kata is independent and has no access to the code cells for other tasks.

As a workaround, we can copy-paste the solutions for the tasks on which the current task depends in the placeholder, so that the learner can access them without doing the copy-paste themselves. For example, in the QEC kata I'm working on, encoding task for Shor code uses encoding task for bit flip code, and the placeholder looks like this:

namespace Kata {
    operation ShorEncode (qs : Qubit[]) : Unit is Adj + Ctl {
        // Implement your solution here...
        
    }

    // You might find this helper operation from an earlier task useful.
    operation BitflipEncode (qs : Qubit[]) : Unit is Adj + Ctl {
        CNOT(qs[0], qs[1]);
        CNOT(qs[0], qs[2]);
    }
}

github-merge-queue bot pushed a commit that referenced this issue Apr 22, 2024
Part of #1185

---------

Co-authored-by: James Kingdon <[email protected]>
Co-authored-by: Mariia Mykhailova <[email protected]>
@frtibble
Copy link
Contributor

frtibble commented Apr 23, 2024

I'll work on Superposition Task 2.4 and 2.5

@jkingdon-ms
Copy link
Contributor

I will be working on migrating Distinguish Unitaries Kata - Tasks 1.2, 1.3, 1.4

@jkingdon-ms
Copy link
Contributor

jkingdon-ms commented May 21, 2024

I will be working on migrating Distinguish Unitaries Kata - Tasks 1.x (remaining 1.5 - 1.11)

github-merge-queue bot pushed a commit that referenced this issue May 21, 2024
This resolves part of #1185 .

---------

Co-authored-by: James Kingdon <[email protected]>
Co-authored-by: Mariia Mykhailova <[email protected]>
github-merge-queue bot pushed a commit that referenced this issue May 22, 2024
Added first task for the teleportation kata (1.1)

As part of the migration - #1185

---------

Co-authored-by: Mariia Mykhailova <[email protected]>
Co-authored-by: Mariia Mykhailova <[email protected]>
github-merge-queue bot pushed a commit that referenced this issue May 27, 2024
Added Common.qs, media folder, zero-plus folder containing task and
updated index

Resolves part of #1185

---------

Co-authored-by: Mariia Mykhailova <[email protected]>
@jkingdon-ms
Copy link
Contributor

I will be working on migrating Distinguish Unitaries Kata - Tasks 2.x

github-merge-queue bot pushed a commit that referenced this issue May 30, 2024
This resolves part of #1185 .

---------

Co-authored-by: James Kingdon <[email protected]>
Co-authored-by: Mariia Mykhailova <[email protected]>
github-merge-queue bot pushed a commit that referenced this issue Jun 1, 2024
This resolves part of #1185 .

---------

Co-authored-by: James Kingdon <[email protected]>
Co-authored-by: Mariia Mykhailova <[email protected]>
Co-authored-by: Mariia Mykhailova <[email protected]>
@jkingdon-ms
Copy link
Contributor

I will be working on the remainder of MarkingOracles.

@moumita-halder
Copy link
Contributor

I am migrating tasks 1.4, 1.5 & 1.6 from the Measurements workbook to Distinguishing States Kata.

github-merge-queue bot pushed a commit that referenced this issue Jun 6, 2024
…#1613)

Migrate tasks 1.4, 1.5 & 1.6 from the Measurements workbook to
Distinguishing States Kata.
This resolves a part of the [Issue
1185](#1185).

- Added folders a_b, four_basis_states, zerozero_oneone under
distinguishing_states
- Added index, placeholder, solution, and verification files
- Updated index file under distinguishing_states to contain the above
exercises

---------

Co-authored-by: Mariia Mykhailova <[email protected]>
github-merge-queue bot pushed a commit that referenced this issue Jun 6, 2024
Resolves part of #1185

---------

Co-authored-by: Mariia Mykhailova <[email protected]>
github-merge-queue bot pushed a commit that referenced this issue Jun 7, 2024
This resolves part of #1185 .

---------

Co-authored-by: James Kingdon <[email protected]>
Co-authored-by: Mariia Mykhailova <[email protected]>
@moumita-halder
Copy link
Contributor

I am migrating tasks 1.10-1.15 from Measurements to Distinguishing States kata.

github-merge-queue bot pushed a commit that referenced this issue Jun 12, 2024
…ta (#1622)

Migrate tasks 1.10 - 1.15 from the Measurements workbook to
Distinguishing States Kata.
This resolves a part of the [Issue
1185](#1185).

---------

Co-authored-by: Mariia Mykhailova <[email protected]>
@moumita-halder
Copy link
Contributor

I am migrating tasks 1.07-1.09 from Measurements to Distinguishing States kata.

github-merge-queue bot pushed a commit that referenced this issue Jun 12, 2024
…ta (#1634)

Migrate tasks 1.07 - 1.09 from the Measurements workbook to
Distinguishing States Kata.
This resolves a part of the [Issue
1185](#1185).

---------

Co-authored-by: Mariia Mykhailova <[email protected]>
github-merge-queue bot pushed a commit that referenced this issue Jun 12, 2024
This resolves part of #1185 .

---------

Co-authored-by: James Kingdon <[email protected]>
Co-authored-by: Mariia Mykhailova <[email protected]>
@tcNickolas
Copy link
Member Author

And with the PR #1638 merged last night I declare this issue completed!

Thank you again to everybody who worked on this!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed katas
Projects
None yet
Development

No branches or pull requests

9 participants