qolumbina.programs package#
Benchmark Programs#
- amplitude_estimation
- bernstein_vazirani
- comparator
- deutsch_jozsa
- diagonal
- exact_reciprocal
- grover
- hamiltonian
- harrow_hassidim_lloyd
- hidden_subgroup_problem
- is_two_power
- ising
- monte_carlo
- parity
- pauli_rotations
- phase_estimation
- quadratic_form
- quantum_adder
- quantum_counting
- quantum_fourier_transform
- quantum_multiplier
- quantum_walk
- shor_algorithm
- state_preparation
Registry#
qolumbina.programs.benchmark_registry module#
- load_all_benchmarks()[source]#
Dynamically import all sub-modules under qolumbina.programs to trigger benchmark registration via decorators.
- register_benchmark(name, description=None, family=None, class_name=None, source=None, testability_refactoring=None, functional_unit_tests=None)[source]#
Decorator to register a benchmark factory function.
The class_name will be automatically inferred from the return value of the factory function on its first invocation, if not provided.
- Parameters:
name (str)
description (str | None)
family (str | None)
class_name (str | None)
source (dict[str, Any] | None)
testability_refactoring (list[str] | None)
functional_unit_tests (list[int] | None)