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

Add CZ section and CNOT and CZ tasks to Multi-Qubit Gates kata #1389

Merged
merged 23 commits into from
Apr 22, 2024

Conversation

WWhitedogi
Copy link
Contributor

No description provided.

Copy link
Contributor

@Manvi-Agrawal Manvi-Agrawal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, it looks good. I left a few comments regarding typos, naming of tasks and ordering. Thank you for your contributions.

katas/content/multi_qubit_gates/index.md Outdated Show resolved Hide resolved
katas/content/multi_qubit_gates/index.md Outdated Show resolved Hide resolved
katas/content/multi_qubit_gates/index.md Outdated Show resolved Hide resolved
katas/content/multi_qubit_gates/index.md Show resolved Hide resolved
katas/content/multi_qubit_gates/index.md Outdated Show resolved Hide resolved
katas/content/multi_qubit_gates/index.md Outdated Show resolved Hide resolved
Copy link
Member

@tcNickolas tcNickolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, and nice CZ lesson, that gate slipped our minds when we were creating the original tutorial!

I left some comments for tasks 2.1-2.3. Looking at the remaining tasks (for the next PR, not for this one, just saying this in case you work on the next one over the weekend),

  • Let's call 2.4 "Amplitudes Swap" and add it as the third exercise in CNOT lesson
  • 2.5 is good with current name, in the lesson Multi-controlled gates
  • 2.6 is also good with current name, as the first exercise in the lesson Controlled Gates (before Controlled Rotation)

And those three should be tested as unitaries indeed, since they accept generic input states, not specific ones.

Thank you!

katas/content/multi_qubit_gates/index.md Outdated Show resolved Hide resolved
katas/content/multi_qubit_gates/index.md Outdated Show resolved Hide resolved
katas/content/multi_qubit_gates/index.md Outdated Show resolved Hide resolved
katas/content/multi_qubit_gates/index.md Outdated Show resolved Hide resolved
katas/content/multi_qubit_gates/two_qubit_gate_1/index.md Outdated Show resolved Hide resolved
@WWhitedogi
Copy link
Contributor Author

WWhitedogi commented Apr 21, 2024

  1. Delete swap task gate folder
  2. Rename task
  3. Update verification.qs
  4. Update index.md

Copy link
Member

@tcNickolas tcNickolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just two minor comments.

Thank you!

katas/content/multi_qubit_gates/index.md Outdated Show resolved Hide resolved
@tcNickolas tcNickolas changed the title add task2.1 to 2.3 Add CNOT and CZ tasks to Multi-Qubit Gates kata Apr 22, 2024
@tcNickolas tcNickolas changed the title Add CNOT and CZ tasks to Multi-Qubit Gates kata Add CZ section and CNOT and CZ tasks to Multi-Qubit Gates kata Apr 22, 2024
@tcNickolas tcNickolas added this pull request to the merge queue Apr 22, 2024
Merged via the queue into microsoft:main with commit e19a9fb Apr 22, 2024
17 checks passed
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.

3 participants