pqca.exceptions module¶
Exceptions for the PQCA module.
- exception pqca.exceptions.BackendError¶
Bases:
pqca.exceptions.PQCAExceptionPass backend errors through to user.
- exception pqca.exceptions.CircuitWrongShapeForCell(qubits, size_cell)¶
Bases:
pqca.exceptions.PQCAExceptionThe circuit must be applied to qubits 0…(n-1).
- exception pqca.exceptions.EmptyCellException¶
Bases:
pqca.exceptions.PQCAExceptionEach cell must not be empty.
- exception pqca.exceptions.IrregularCellSize(cells)¶
Bases:
pqca.exceptions.PQCAExceptionEach cell must be the same size.
- exception pqca.exceptions.IrregularCoordinateDimensions(coordinate_1, coordinate_2)¶
Bases:
pqca.exceptions.PQCAExceptionTwo coordinates must be of the same dimension to be compared.
- exception pqca.exceptions.NoCellsException¶
Bases:
pqca.exceptions.PQCAExceptionThere must be at least one cell.
- exception pqca.exceptions.PQCAException¶
Bases:
ExceptionBase exception class for the pqca module.
- exception pqca.exceptions.PartitionUnevenlyCoversQubits(cells)¶
Bases:
pqca.exceptions.PQCAExceptionThe partition must contain each qubit exactly once.