Add pyQuil v5 deprecation warnings

Open
#1,878 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
devtools, tooling

Research direction

The issue lists specific modules to deprecate: api/_wavefunction_simulator, experiment, latex, noise/_legacy_noise, simulation/_numpy, simulation/_reference, operator_estimation, pyqvm, wavefunction. Start by locating these in the codebase. Add Python deprecation warnings using the warnings module. Check for existing deprecation patterns in the project. Run tests to ensure warnings are emitted correctly and do not break functionality.

Written by the indexing model from the issue text.

Description

  • api/_wavefunction_simulator - superseded by new Quax-based simulators
  • experiment - superseded by qpu-hybrid-benchmark
  • latex - if we want the functionality, we can move it into quil-plotting without system dependencies
  • noise/_legacy_noise - superseded by Quax-based noise model
  • simulation/_numpy, simulation/_reference - superseded by Quax-base simulators
  • operator_estimation - superseded by QHB’s Estimator interface
  • pyqvm - superseded by Quax-based simulators
  • wavefunction - superseded by Quax-based simulators
Dominant language
Python
Stars
1.5k
Forks
366
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from rigetti/pyquil

All issues in rigetti/pyquil

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.