tensorflow / tensorflow/quantum

Projective measurements layer?

Open
#665 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/core help wanted kind/feature-request skill-level/intermediate
Dominant language
Python
Stars
2.2k
Forks
665
PR merge metrics
No merged PRs in 30d

Description

Given a tensor of PauliSums, one may want to repeatedly measure these operators. This would be a generalization of the Sample layer, which is implicitly performing this calculation for a tensor of single qubit Z pauli sums. Currently, only the Expectation layer ingests operators.

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

No file or test is named in the issue. Start by reading the existing Sample and Expectation layers and how they handle operator tensors; done means a layer can repeatedly measure a tensor of PauliSums rather than only the single-qubit-Z case.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
api, machine-learning
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.