Easy interface for getting the matrix form of a PauliTerm/Sum
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 358
- Avg merge
- 1d 58m
- Merged PRs (30d)
- 4
Description
In PR #867, @jlbosse is looking to extend the PauliTerm/PauliSum interface to include a method for getting its matrix representation. In the unitary_tools module, there exists a function lifted_pauli which seems to accomplish this task, but is not necessarily well-known or well-documented functionality. This issue is for discussing that feature request, and for designing such an interface.
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
Review PR #867 and the existing lifted_pauli function in the unitary_tools module first. Define the proposed PauliTerm/PauliSum matrix-representation interface, including how it should relate to lifted_pauli; the work is done when the interface and its expected behavior are agreed and documented.
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
- Needs clarification
- Newbie friendliness
- 25/100