quri_parts.core.estimator.utils module

is_estimatable(observable, state)

Check if the qubit count of the observable is larger than that of the state.

Parameters:
  • observable (core.estimator.Estimatable)

  • state (QuantumState)

Return type:

bool