Skip to content

Avoid hard-coding "quantum" in scripts/ scripts #1082

Open
atakhadiviom/quantum
#1

Description

@mhucka

scripts/ci_validate_tutorials.sh has a hard-coded assumption that the user's local git working directory is named "quantum":

cd ..
examples_output=$(python3 quantum/scripts/test_tutorials.py)

This fails for developers who (like me) have multiple copies of the TFQ source tree, with different names for different concurrent development projects. Instead of assuming the directory is quantum, the scripts in the scripts/ directory should get the correct name using code such as the following:

thisdir=$(CDPATH="" cd -- "$(dirname -- "${0}")" && pwd -P)
repo_dir=$(git -C "${thisdir}" rev-parse --show-toplevel 2>/dev/null)

Activity

  1. added
    help wantedHelp with this would be appreciated
    area/devopsInvolves build systems, Make files, Bazel files, continuous integration, and/or other DevOps topics
    no QC knowledge neededDoes not require knowledge of quantum computing
    on Jun 5, 2026
  2. added theissue type on Jun 5, 2026
  3. Aniketsy commented on Jun 5, 2026

    @Aniketsy
    Contributor

    I'll look into this and open PR shortly

  4. changed the issue type fromtoon Jun 6, 2026
  5. SripriyaDevarapalli commented on Oct 4, 2026

    @SripriyaDevarapalli

    Hi! I'm interested in contributing to TensorFlow Quantum and would like to help with this issue. I understand that supporting significantly larger circuits may involve performance improvements across the circuit-processing or simulation workflow.

    Could you suggest a specific, manageable part of this issue that would be suitable for a first contribution? I'd be happy to investigate the current bottlenecks, review the relevant code and tests, and submit a focused PR with benchmarks or tests where appropriate.

    If this issue is still a priority, I'd appreciate your guidance on where I could make the most useful contribution. Thank you!

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

    area/devopsInvolves build systems, Make files, Bazel files, continuous integration, and/or other DevOps topicshelp wantedHelp with this would be appreciatedno QC knowledge neededDoes not require knowledge of quantum computingpriority/before-0.7.7To be done before releasing TFQ version 0.7.7

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions