LoadFermions.broadcast_arguments

LoadFermions.broadcast_arguments(qargs, cargs)

Validation of the arguments.

Parameters:
  • qargs (List) – List of quantum bit arguments.

  • cargs (List) – List of classical bit arguments.

Yields:

Tuple(List, List) – A tuple with single arguments.

Raises:

CircuitError – If the input is not valid. For example, the number of arguments does not match the gate expectation.