calculate_qchack_measurements

static FunctionNamespace.calculate_qchack_measurements(*, controls, shot_count=10000, **kwargs)

Calculates measurement results for the QCHack competition.

Use this function to get measurement results for your candidate pulses for the Quantum Coalition Hack competition.

Parameters
  • controls (List[qctrl.dynamic.types.qchack_measurements.Control]) – The controls to simulate. You must pass at least one and at most 100 controls.

  • shot_count (int, optional) – The number of shots for which to generate measurements. Must be between 1 and 10000. Defaults to 10000.

Returns

The measurement results for the simulation.

Return type

qctrl.dynamic.types.qchack_measurements.Result

Warning

This is a temporary function for the Quantum Coalition Hack competition that will be removed shortly after the competition ends.