The example https://github.com/NVIDIA/cudaqx/blob/231fb57b48eb4974ec801d20c6120ff71b604c3c/docs/sphinx/examples/solvers/python/adapt_h2.py#L19 shown here doesn't support running in MPI as of now. Need to update the example such that we support both the non MPI mode and MPI as well. Additionally, we should move away from using comments and start using args to set the mode of operation.
See PR #245 for reference.