tensorflow / tensorflow/quantum
Replace transformrangeconcurrently with ParallelFor
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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