Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankya2 committed Jan 31, 2024
1 parent d621eb2 commit 83ffcfa
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,10 @@ import numpy as np
from qibo import Circuit, gates
import qibo

'''
computation_settings = {
'MPI_enabled': False,
'MPS_enabled': False,
'NCCL_enabled': False,
'expectation_enabled': {
'pauli_string_pattern': "IXZ"
}
}
'''
# Below shows 3 ways of setting the computation_settings
# Note that for MPS_enabled and expectation_enabled parameters the accepted inputs are boolean or a dictionary with the format shown below.
# If computation_settings is not specified, the default setting is used in which all booleans will be False.
# This will trigger the dense vector computation of the tensornet.

computation_settings = {
'MPI_enabled': False,
Expand All @@ -35,6 +29,14 @@ computation_settings = {
'expectation_enabled': False
}

# computation_settings = {
# 'MPI_enabled': False,
# 'MPS_enabled': False,
# 'NCCL_enabled': False,
# 'expectation_enabled': {
# 'pauli_string_pattern': "IXZ"
# }

# computation_settings = {
# 'MPI_enabled': False,
# 'MPS_enabled': True,
Expand Down

0 comments on commit 83ffcfa

Please sign in to comment.