Allowing more flexible parametrization of the cost estimate functions

Open
#768 3 comments 0 reactions 1 assignee View on GitHub

@dhanvanthbalaji is already working on this.

Since Oct 2, 2026.

  • #1460 by @dhanvanthbalaji — closed without merging

Assessment

This issue has not been assessed yet.

Description

a: functionality e: experienced

In the recent cost estimates functions, there are a number of hardcoded parameters in the system:
https://github.com/quantumlib/OpenFermion/blob/cf53c063d0f124a02ff8776bb7f8afb110d4bde6/src/openfermion/resource_estimates/surface_code_compilation/physical_costing.py#L189-L201
Should we add them as parameters to some class that the user can willingly change?

Dominant language
Python
Stars
1.7k
Forks
438
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 quantumlib/OpenFermion

All issues in quantumlib/OpenFermion

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.