mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
fix quantum folder
This commit is contained in:
@@ -4,9 +4,10 @@
|
||||
|
||||
from qiskit import Aer, QuantumCircuit, execute
|
||||
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
|
||||
Returns the circuit and binary representation of the integers
|
||||
|
||||
Reference in New Issue
Block a user