Skip to content

Commit

Permalink
updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nfwvogt committed Jul 15, 2021
1 parent 085c0a4 commit a782916
Show file tree
Hide file tree
Showing 23 changed files with 2,732 additions and 6,976 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Changelog

This changelog track changes to the qoqo project starting at version 0.5.0

## 0.5.0

### Changed

* Fixed versioning scheme to use the same version number across the project.
* Updated pyo3 dependency to 0.14.1, numpy to 0.14, num-complex to 0.4 and ndarray to 0.15
* Removed sprs dependency to allow update of other dependencies

### Fixed in qoqo

* Wrong Python Class name of ClassicalRegister measurement (was "Cheated")

### Added

* PhaseShiftedControlledZ gate in roqoqo
* QoqoBackendError to use in the python interface of rust based backends
183 changes: 17 additions & 166 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion qoqo-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "qoqo-macros"
version = "0.1.5"
version = "0.5.0"
authors = ["HQS Quantum Simulations <[email protected]>"]
license = "Apache-2.0"
readme = "../README.md"
Expand Down
8 changes: 4 additions & 4 deletions qoqo-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,17 +360,17 @@ pub fn wrap(
#operate_pragma_noise_quote
#define_quote
#operate_constant_gate_quote

fn __format__(&self, _format_spec: &str) -> PyResult<String> {
Ok(format!("{:?}", self.internal))
}
}
#[pyproto]
impl PyObjectProtocol for #wrapper_ident {
fn __repr__(&self) -> PyResult<String> {
Ok(format!("{:?}", self.internal))
}

fn __format__(&self, _format_spec: &str) -> PyResult<String> {
Ok(format!("{:?}", self.internal))
}


/// Returns the __richcmp__ magic method to perform rich comparison
/// operations on Operation.
Expand Down
Loading

0 comments on commit a782916

Please sign in to comment.