mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
[mypy] fix small folders (#4292)
* add final else-statement
* fix file_transfer
* fix quantum folder
* fix divide_and_conquer-folder
* Update build.yml
* updating DIRECTORY.md
* Update ripple_adder_classic.py
* Update .github/workflows/build.yml
* removed imports from typing
* removed conversion to string
* Revert "removed conversion to string"
This reverts commit 2f7c4731d1.
* implemented suggested changes
* Update receive_file.py
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
@@ -6,7 +6,7 @@ from qiskit import Aer, QuantumCircuit, execute
|
||||
from qiskit.providers import BaseBackend
|
||||
|
||||
|
||||
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