Update
This commit is contained in:
22
README.md
22
README.md
@@ -11,16 +11,10 @@ import numpy as np
|
|||||||
from qibo import Circuit, gates
|
from qibo import Circuit, gates
|
||||||
import qibo
|
import qibo
|
||||||
|
|
||||||
'''
|
# Below shows 3 ways of setting the computation_settings
|
||||||
computation_settings = {
|
# Note that for MPS_enabled and expectation_enabled parameters the accepted inputs are boolean or a dictionary with the format shown below.
|
||||||
'MPI_enabled': False,
|
# If computation_settings is not specified, the default setting is used in which all booleans will be False.
|
||||||
'MPS_enabled': False,
|
# This will trigger the dense vector computation of the tensornet.
|
||||||
'NCCL_enabled': False,
|
|
||||||
'expectation_enabled': {
|
|
||||||
'pauli_string_pattern': "IXZ"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
'''
|
|
||||||
|
|
||||||
computation_settings = {
|
computation_settings = {
|
||||||
'MPI_enabled': False,
|
'MPI_enabled': False,
|
||||||
@@ -35,6 +29,14 @@ computation_settings = {
|
|||||||
'expectation_enabled': False
|
'expectation_enabled': False
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# computation_settings = {
|
||||||
|
# 'MPI_enabled': False,
|
||||||
|
# 'MPS_enabled': False,
|
||||||
|
# 'NCCL_enabled': False,
|
||||||
|
# 'expectation_enabled': {
|
||||||
|
# 'pauli_string_pattern': "IXZ"
|
||||||
|
# }
|
||||||
|
|
||||||
# computation_settings = {
|
# computation_settings = {
|
||||||
# 'MPI_enabled': False,
|
# 'MPI_enabled': False,
|
||||||
# 'MPS_enabled': True,
|
# 'MPS_enabled': True,
|
||||||
|
|||||||
Reference in New Issue
Block a user