Skip to content

Commit

Permalink
Minor changes in BTC_02_AE
Browse files Browse the repository at this point in the history
  • Loading branch information
gonfeco committed May 29, 2024
1 parent 18e2eeb commit f02f23c
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 77 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"qpu_config = {\n",
" #the following strings can be used:\n",
" #\n",
" \"qpu_type\": ideal_qpus[2], \n",
" \"qpu_type\": ideal_qpus[0], \n",
" # The following keys are used for configuring noisy simulations\n",
" \"t_gate_1qb\" : None,\n",
" \"t_gate_2qbs\" : None,\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"qpu_config = {\n",
" #the following strings can be used:\n",
" #\n",
" \"qpu_type\": ideal_qpus[2], \n",
" \"qpu_type\": ideal_qpus[0], \n",
" # The following keys are used for configuring noisy simulations\n",
" \"t_gate_1qb\" : None,\n",
" \"t_gate_2qbs\" : None,\n",
Expand Down
132 changes: 60 additions & 72 deletions tnbs/BTC_02_AE/QQuantLib/qpu/NoisyModels.ipynb

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions tnbs/BTC_02_AE/my_benchmark_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,16 +301,19 @@ def exe(self):

# Path for AE JSON file configuration
ae_json_file = "jsons/integral_mlae_configuration.json"
ae_json_file = "jsons/integral_iqae_configuration.json"
# For setting the AE configuration
id_ae = 0
id_ae = 1

# Path for QPU JSON file configuration
qpu_json_file = "QQuantLib/qpu/qpu_ideal.json"
# qpu_json_file = "QQuantLib/qpu/qpu_ideal.json"
qpu_json_file = "qpu_noisy.json"
# For setting the qpu configuration
id_qpu = 2

# Setting the integral interval
list_of_integral_intervals = [0, 1]
#list_of_integral_intervals = [0, 1]
list_of_integral_intervals = [0]
# Setting the list of qubits for domain discretization
list_of_qbits = [6]

Expand Down

0 comments on commit f02f23c

Please sign in to comment.