tensorflow / tensorflow/quantum

Arbitrary Input State Capabilities

Open
#210 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/feature-request
Dominant language
Python
Stars
2.2k
Forks
665
PR merge metrics
No merged PRs in 30d

Description

Are there functionalities in TFQ that allow one to specify an arbitrary input state in the 2^N Hilbert space? I understand that one could in principle make a circuit to prepare such a state, but in the case where, for example, the input state comes from solving the ground state of a many-body Hamiltonian, this might be very expensive to do, and it would be useful to be able to have an interface directly specifying this as a state vector/density matrix.

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

The issue does not name files, tests, or entry points. Start by reviewing existing TFQ interfaces for input states, then determine whether arbitrary state vectors and density matrices are supported; done requires a decided interface for specifying both forms or a documented conclusion that the request is out of scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.