forked from PennyLaneAI/pennylane
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default_config.toml
90 lines (68 loc) · 2.6 KB
/
default_config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
## =================================================================
## MAIN PENNYLANE CONFIGURATION OPTIONS
## =================================================================
## This section contains the main PennyLane configuration options.
## These options apply globally to PennyLane and all loaded plugins
## and devices which support them.
##
## To overide these default configuration settings per device/plugin,
## please use the per-device settings below.
## set the default number of shots/runs used
## to determine expectation value statistics
[main]
shots = 0
# =================================================================
# PLUGIN AND DEVICE OPTIONS
# =================================================================
## This section contains the PennyLane configuration options for each
## installed plugin or device. These configuration options allow you
## to set global configuration options on a device-by-device basis.
## and to also set options specific to certain device.
[default.gaussian]
hbar = 2
[strawberryfields.global]
## Global options for the StrawberryFields plugin.
## If not specified, the PennyLane default is used.
##
## These global options may be overwritten by specifying
## the defaults for the Fock and Gaussian simulators below.
## Set the default value of hbar
hbar = 1
## set the default number of shots/runs used
## to determine expectation value statistics
# shots = 0
[strawberryfields.fock]
## Default options for the Fock simulator
## Set the default Fock space truncation
cutoff_dim = 10
## set the default number of shots
# shots = 0
## Set the default value of hbar
# hbar = 1
[strawberryfields.gaussian]
## Default options for the Gaussian simulator
## set the default number of shots
# shots = 0
## Set the default value of hbar
# hbar = 1
[projectq.global]
## Options for the ProjectQ plugin.
[projectq.simulator]
## If True, gates are cached and only executed once a
## certain gate-size has been reached
# gate_fusion =
## Random seed (uses random.randint(0, 4294967295) by default)
# rnd_seed =
[projectq.ibm]
## IBM Quantum Experience user name and password
# user =
# password =
## Whether to use the IBM quantum chip instead of the IBM simulator
# use_hardware = true
## Device to use (‘ibmqx4’, or ‘ibmqx5’)
# device =
## Number of runs used to collect statistics
# num_runs = 1024
## If True, statistics are printed, in addition to the
## measurement result being registered (at the end of the circuit).
# verbose = false