Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new transpiler exception class for too many qubits #11241

Merged
merged 4 commits into from
Nov 14, 2023

Commits on Nov 14, 2023

  1. Add new transpiler exception class for too many qubits

    This commit adds a new exception class for when the transpiler is
    given a circuit too many qubits for a given backend. Previously the
    generic TranspilerError was raised for this, but it made it difficult
    for downstream users to catch as it wasn't easy to differentiate this
    error condition from other TranspilerError exceptions. There isn't any
    backwards compatibility issues with this because the new
    CircuitToWideForTarget class is a subclass of TranspilerError so any of
    the previous catches for TranspilerError will still catch this.
    mtreinish committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    30c737c View commit details
    Browse the repository at this point in the history
  2. Fix typo in class name

    mtreinish committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    5c90e25 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15af4e2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2cb8a3c View commit details
    Browse the repository at this point in the history