ngnrsaa / qflex

Flexible Quantum Circuit Simulator (qFlex) implements an efficient tensor network, CPU-based simulator of large quantum circuits.
Apache License 2.0
97 stars 24 forks source link

Try-catch exceptions #216

Closed alankao64 closed 4 years ago

alankao64 commented 4 years ago

While we currently provide some context for exceptions, methods that can throw exceptions that are hard to trace. Wrapping calls to methods that can throw exceptions in a try-catch block will improve the traceability of errors.