Skip to content

Commit 574bde3

Browse files
committed
bump: version 0.3.0a6 → 0.3.0
1 parent f1041f7 commit 574bde3

File tree

5 files changed

+68
-5
lines changed

5 files changed

+68
-5
lines changed

CHANGELOG.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,66 @@
1+
## 0.3.0 (2021-06-03)
2+
3+
### Refactor
4+
5+
- **validation**: add type hints
6+
- **blockbit_frequency**: rename to block_frequency
7+
- **validate_natural_number**: rename to validate_natural
8+
- **qsharp**: add validation and check imports
9+
- **QsharpCircuit**: Update type validaof gate angles
10+
- **QsharpBackend**: Remove #type: ignore
11+
- **QsharpCircuit**: Make gates a private property
12+
- **QsharpJob**: Add author, update date
13+
- **QsharpJob**: Remove generate_code, update azure shots
14+
- **QsharpCircuit**: Set type validation, add generate_code
15+
- **QsharpBackend**: Set validate_type for resource_id and target_id
16+
- **QsharpCircuit**: Fix 'else' indentation
17+
- Make Q# code better readable
18+
- **QsharpJob**: Update generate_code(),num_measurements
19+
- **QsharpCircuit**: Update measure()
20+
- **Qrng**: remove __init__
21+
- **validate_natural_number**: condense if statement
22+
- **QsharpBackend**: Update max_measurements
23+
- **QsharpBackend**: Update max_qubits and max_measurements
24+
- **QsharpJob**: Remove max_shots and max_experiments
25+
- **QsharpCircuit**: Update U3 gate
26+
- **validate_type**: rename type_class to classinfo
27+
- **helpers**: rename numeral_* to *_numeral
28+
- **protocols**: use raise_not_implemented_error function
29+
- move argument_validation from helpers to errors
30+
- **errors**: add raise_not_implemented_error
31+
- move argument_validation from errors to helpers
32+
- **errors**: add validate_natural_number function
33+
- **errors**: add validate_type function
34+
- **errors**: rename raise_deprecation_warn. to raise_future_warning
35+
36+
### Perf
37+
38+
- **BlockFrequencyValidation**: simplify floored quotient
39+
- **compute_bounded_factorization**: simplify algorithm
40+
41+
### Fix
42+
43+
- **RunsValidation**: correct frequency check
44+
- **BlockFrequencyValidation**: correct p_value calculation
45+
- **MonobitFrequencyValidation**: add input validation and min size
46+
- **QsharpJob**: fix datetime import
47+
- **MonobitFrequencyValidation**: fix return inequality
48+
- **QiskitPlatform**: add type validation
49+
- **QiskitJob**: add backend and circuit type validation
50+
51+
### Feat
52+
53+
- **validation**: adding RunsValidation
54+
- **validation**: cleaning doctring presentation for blockbit frequency
55+
- **validation**: fixing blockbit_frequency and adding doctring
56+
- **validation**: fixing blockbit_frequency validation
57+
- **validation**: adding blockbit_frequency validation
58+
- **validation**: add MonobitFrequencyValidation
59+
- **validate_type**: add multi-type input support
60+
- **QsharpCircuit**: Implement U2 and U3 gate
61+
- **helpers**: add validate_numeral
62+
- Implement Qsharp support
63+
164
## 0.3.0a6 (2021-05-27)
265

366
### Refactor

QRAND.bib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ @software{pedro_rivero_qrand
33
title = {QRAND: A multiprotocol and multiplatform quantum random number generation framework},
44
year = 2020,
55
publisher = {Zenodo},
6-
version = {0.3.0a6},
6+
version = {0.3.0},
77
doi = {10.5281/zenodo.4755731},
88
url = {https://doi.org/10.5281/zenodo.4755731}
99
}

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ exclude = '''
1111
name = "cz_conventional_commits"
1212
bump_message = "bump: version $current_version → $new_version"
1313
version_format = "$version"
14-
version = "0.3.0a6"
14+
version = "0.3.0"
1515
version_files = [
1616
"qrand/__init__.py:__version__",
1717
"tests/test_qrand.py:__version__",
@@ -41,7 +41,7 @@ line_length = 79
4141

4242
[tool.poetry]
4343
name = "qrand"
44-
version = "0.3.0a6"
44+
version = "0.3.0"
4545
description = "A multiprotocol and multiplatform quantum random number generation framework"
4646
readme = "README.md"
4747
homepage = "https://github.com/pedrorrivero/qrand"

qrand/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
__author__ = "Pedro Rivero"
2424
__copyright__ = "Copyright (c) 2021 Pedro Rivero"
2525
__license__ = "Apache-2.0"
26-
__version__ = "0.3.0a6"
26+
__version__ = "0.3.0"
2727

2828
from ._qiskit_bit_generator import QiskitBitGenerator
2929
from .qrng import Qrng

tests/test_qrand.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
## VERSION
3131
###############################################################################
3232
def test_version():
33-
assert __version__ == "0.3.0a6"
33+
assert __version__ == "0.3.0"
3434

3535

3636
###############################################################################

0 commit comments

Comments
 (0)