mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-07 10:00:55 +00:00
fix quantum folder
This commit is contained in:
parent
06c8abcd70
commit
9547066cb9
|
@ -4,9 +4,10 @@
|
||||||
|
|
||||||
from qiskit import Aer, QuantumCircuit, execute
|
from qiskit import Aer, QuantumCircuit, execute
|
||||||
from qiskit.providers import BaseBackend
|
from qiskit.providers import BaseBackend
|
||||||
|
from typing import Tuple
|
||||||
|
|
||||||
|
|
||||||
def store_two_classics(val1: int, val2: int) -> (QuantumCircuit, str, str):
|
def store_two_classics(val1: int, val2: int) -> Tuple[QuantumCircuit, str, str]:
|
||||||
"""
|
"""
|
||||||
Generates a Quantum Circuit which stores two classical integers
|
Generates a Quantum Circuit which stores two classical integers
|
||||||
Returns the circuit and binary representation of the integers
|
Returns the circuit and binary representation of the integers
|
||||||
|
|
Loading…
Reference in New Issue
Block a user