Skip to content

[Question] Samples CI, location and redundancy #1709

Closed

Description

@Manvi-Agrawal

Edited because of sample validation changes: Investigate duplicate check in javascript that check samples in samples.mjs list?

Generic questions : Samples Location

  • It might be worth publishing language samples to the same/separate website, if possible, for greater discovery.

  • If option 2 isnt feasible, can we move samples not in samples.mjs list to a new repo? I liked classic QDK samples because they were in a separate repo. Mariia Mykhailova (@tcNickolas) has told me previously that monolith helps to simplify the dependencies. I highly doubt that somebody would likely visit this massive codebase to see these curated samples. Currently, they serve little purpose for both for Q# compiler team and people onboarding to Q#. Maybe add new samples repo as a submodule here if folks think it might be useful, although I know git submodules are a bit annoying.

Specific questions

  • : Is QuantumHelloWorld.qs sample needed when we have Getting started(aka minimal) and superposition sample?
    Also, this is not in samples.mjs list. Interestingly, it does pop up on samples website which seems to have been updates a long time back.
    image

  • Is RandomBit.qs sample needed when code is very similar to superposition sample? Currently, this is in samples list and might be okay to have this duplicate to reiterate that random number can be generated using superposition.

Activity

  1. sezna commented on Aug 13, 2024

    @sezna
    Contributor

    This should be resolved when #1797 goes in

  2. added
    question
    and removed on Aug 15, 2024
  3. added a commit that references this issue on Aug 26, 2024
    ce8303b
  4. changed the title [-][Question] Samples CI checks and redundancy[/-] [+][Question] Samples redundancy[/+] on Sep 25, 2024
  5. changed the title [-][Question] Samples redundancy[/-] [+][Question] Samples location and redundancy[/+] on Sep 25, 2024
  6. Manvi-Agrawal commented on Sep 25, 2024

    @Manvi-Agrawal
    ContributorAuthor

    Created separate issues for better triaging since #1797 addresssed a part of this issue and I am unable to reopen this issue

  7. changed the title [-][Question] Samples location and redundancy[/-] [+][Question] Samples CI, location and redundancy[/+] on Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementquestion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions