tensorflow / tensorflow/quantum

Replace transformrangeconcurrently with ParallelFor

Open
#291 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/performance help wanted kind/feature-request no QC knowledge needed
Dominant language
Python
Stars
2.2k
Forks
665
PR merge metrics
No merged PRs in 30d

Description

Certain places in our codebase still use TransformRangeConcurrently. It would be good to get rid of this in favor of ParallelFor so that we can also get rid of core/ops/tfq_simulate_utils.cc

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the codebase for remaining uses of TransformRangeConcurrently and inspect core/ops/tfq_simulate_utils.cc. Replace those uses with ParallelFor, then confirm that tfq_simulate_utils.cc can be removed and that the affected code still builds and tests successfully.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.