estimation_renderer

class cryptographic_estimators.estimation_renderer.EstimationRenderer(show_quantum_complexity=0, show_tilde_o_time=0, show_all_parameters=0, precision=1, truncate=0)

Bases: object

Creates an estimation renderer.

Parameters:
  • show_quantum_complexity (int) – Show quantum time complexity (default: 0).

  • show_tilde_o_time (int) – Show Ō time complexity (default: 0).

  • show_all_parameters (int) – Show all optimization parameters (default: 0).

  • precision (int) – Number of decimal digits output (default: 1).

  • truncate (int) – Truncate rather than round the output (default: 0).

as_table(estimation_result: dict) None

Prints the given estimation dictionary as a table.