qiskit-community / povm-toolbox

A toolbox for the implementation of positive operator-valued measures (POVMs).
https://qiskit-community.github.io/povm-toolbox/
Apache License 2.0
30 stars 0 forks source link

Introduce a optional shape for `MultiQubitFrame` objects #97

Closed timmintam closed 1 month ago

timmintam commented 1 month ago

The idea is to relax the indexing of the operators (or outcomes) for a mutli-qubit frame/povm/dual. Currently, they are indexed by integers (which came from the fact that they are stored in a list). We could reshape (maybe virtually) that list and index operators by tuple[int, ...]. We could go further and store the operators in a dict and key could even be strings for instance.

timmintam commented 1 month ago

We close this pull request without merging. Instead, the PR #101 will introduce a simpler virtual shape.