GroverResult¶
-
class
GroverResult
(a_dict=None)[source]¶ Bases:
qiskit.aqua.algorithms.algorithm_result.AlgorithmResult
Grover Result.
Methods
- rtype
None
Any property from the argument that exists in the receiver is updated.
create new object from a dictionary
If key is not found, d is returned if given, otherwise KeyError is raised.
as a 2-tuple; but raise KeyError if D is empty.
If E present and has a .keys() method, does: for k in E: D[k] = E[k] If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v In either case, this is followed by: for k, v in F.items(): D[k] = v
Attributes
-
assignment
¶ return assignment
- Return type
List
[int
]
-
circuit
¶ return circuit
- Return type
Optional
[QuantumCircuit
]
-
measurement
¶ returns measurement
- Return type
Optional
[Dict
[str
,int
]]
-
oracle_evaluation
¶ return oracle evaluation
- Return type
bool
-
top_measurement
¶ return top measurement
- Return type
Optional
[str
]