Possibly add side-by-side comparison of memory-lean and compute-lean workflows to User Guide
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 57/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- cpp
- Domain
- documentation
Research direction
Start with the features/evaluation page and existing tutorials, which the issue says describe only single-evaluation workflows. Compare the two example flows in the issue: one builds a graph for a single evaluation, while the other evaluates a parameterized circuit. Done means the User Guide clearly explains when to use each workflow and includes examples; no specific file paths or tests are named.
Written by the indexing model from the issue text.
Description
The features/evaluation page talks about MajoranaPropagator.build_graph but only in text, not in code examples, and I think this is the only place that function is mentioned in the docs.
The tutorials also all seem to only have single evaluation workflows.
I ended up faffing around trying to use PauliPropagator.from_circuit with an unbound circuit and bind parameters later, which I don't think works.
It would be really useful to have a page explicitly setting out the memory-lean single evaluation flow vs compute-lean multiple evaluation flow!
e.g. when to use
propagator = PauliPropagator(observable, circuit.initial_state, cutoff=16)
propagator.build_graph(circuit)
fn = propagator.expectation_value_functional()
and when to instead use
propagator = PauliPropagator.from_circuit(circuit, observable, cutoff=16)
propagator.expectation_value()
- Dominant language
- C++
- Stars
- 52
- Forks
- 2
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 22
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from Algorithmiq/monoprop
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Algorithmiq/monoprop#193 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Algorithmiq/monoprop#192 ·
Maintainers usually reply within 1 day
-
bug performance
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Algorithmiq/monoprop#191 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Algorithmiq/monoprop#189 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 4/5 3-5 days Newbie friendliness 44/100
Algorithmiq/monoprop#442 ·
Maintainers usually reply within 1 day
All issues in Algorithmiq/monoprop
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
? - Needs Triage bot_watch bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA/cudf-spark-jni#5594 ·
Maintainers usually reply within 1 day
-
Branch-master
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TrinityCore/TrinityCore#32177 ·
Maintainers usually reply within 10 days
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
mw00/project-maya#1499 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day