tensorflow / tensorflow/quantum
Allow custom gate serialization
Open
Nobody has claimed this yet.
area/cirq
help wanted
kind/feature-request
- Dominant language
- Python
- Stars
- 2.2k
- Forks
- 665
- PR merge metrics
- No merged PRs in 30d
Description
Currently we hardcode the set of serializable gates in a global variable here. It will be useful to various teams to allow the user to set this serializer to correspond with custom backends.
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
Read tensorflow_quantum/core/serialize/serializer.py around the hardcoded serializable-gates variable at line 370. Define how users should provide a serializer for custom backends, then verify that custom gate serialization works without relying on the global gate set.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100