quantum-flows 0.1.16__tar.gz → 0.1.18__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: quantum-flows
3
- Version: 0.1.16
3
+ Version: 0.1.18
4
4
  Summary: A python library for interacting with Transilvania-Quantum Quantum Flows quantum computing API backbone.
5
5
  License: MIT
6
6
  Author: Radu Marginean
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "quantum-flows"
3
- version = "0.1.16"
3
+ version = "0.1.18"
4
4
  description = "A python library for interacting with Transilvania-Quantum Quantum Flows quantum computing API backbone."
5
5
  authors = ["Radu Marginean <radu.marginean@transilvania-quantum.com>"]
6
6
  license='MIT'
@@ -148,7 +148,7 @@ class InputData:
148
148
  "ising-model",
149
149
  "lattice",
150
150
  "lp-model",
151
- "max-iterations",
151
+ "max-fun-evaluations",
152
152
  "molecule-info",
153
153
  "operator",
154
154
  "pub",
@@ -672,7 +672,7 @@ In case the service has been recently started please wait 5 minutes for it to be
672
672
  shots=None,
673
673
  workflow_id=None,
674
674
  comments="",
675
- max_iterations=None,
675
+ max_fun_evaluations=None,
676
676
  input_data=InputData(),
677
677
  ):
678
678
  if not self._verify_user_is_authenticated():
@@ -689,10 +689,10 @@ In case the service has been recently started please wait 5 minutes for it to be
689
689
  if not self.is_valid_uuid(workflow_id):
690
690
  print("The specified workflow Id is not a valid GUID.")
691
691
  return
692
- if max_iterations is not None:
693
- if not isinstance(max_iterations, int) or max_iterations <= 0:
692
+ if max_fun_evaluations is not None:
693
+ if not isinstance(max_fun_evaluations, int) or max_fun_evaluations <= 0:
694
694
  print(
695
- "The optional 'max-iterations' input argument must be a positive integer."
695
+ "The optional 'max-fun-evaluations' input argument must be a positive integer."
696
696
  )
697
697
  return
698
698
  try:
@@ -702,8 +702,8 @@ In case the service has been recently started please wait 5 minutes for it to be
702
702
  input_data_items.append(backend)
703
703
  input_data_labels.append("shots")
704
704
  input_data_items.append(str(shots))
705
- input_data_labels.append("max-iterations")
706
- input_data_items.append(str(max_iterations))
705
+ input_data_labels.append("max-fun-evaluations")
706
+ input_data_items.append(str(max_fun_evaluations))
707
707
  for input_data_label in input_data.data.keys():
708
708
  input_data_labels.append(input_data_label)
709
709
  content = input_data.data[input_data_label]
@@ -715,7 +715,7 @@ In case the service has been recently started please wait 5 minutes for it to be
715
715
  "WorkflowId": workflow_id,
716
716
  "Shots": shots,
717
717
  "Comments": comments,
718
- "MaxIterations": max_iterations,
718
+ "MaxFunEvaluations": max_fun_evaluations,
719
719
  "InputDataLabels": input_data_labels,
720
720
  "InputDataItems": input_data_items,
721
721
  "QiskitVersion": qiskit.__version__,
File without changes
File without changes