Skip to main contentIBM Quantum Documentation
Important

IBM Quantum Platform is moving and this version will be sunset on July 1. To get started on the new platform, read the migration guide.

QkExitCode

enum QkExitCode

Function exit codes.


Values

  • QkExitCode_Success

    Success.

    Value: 0

  • QkExitCode_CInputError

    Error related to data input.

    Value: 100

  • QkExitCode_NullPointerError

    Unexpected null pointer.

    Value: 101

  • QkExitCode_AlignmentError

    Pointer is not aligned to expected data.

    Value: 102

  • QkExitCode_IndexError

    Index out of bounds.

    Value: 103

  • QkExitCode_ArithmeticError

    Error related to arithmetic operations or similar.

    Value: 200

  • QkExitCode_MismatchedQubits

    Mismatching number of qubits.

    Value: 201

Was this page helpful?
Report a bug or request content on GitHub.