Skip to content

Commit

Permalink
Update develop to catch up with main version 0.3.3 (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinS4t1qbit authored Nov 9, 2022
1 parent 6cfca0d commit 3f141ed
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 3 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,34 @@
This file documents the main changes between versions of the code.


## [0.3.3] - 2022-11-09

### Added

- Circuit translation from any supported source to any supported target format, with a single function
- Translation for qubit / Pauli operators for qiskit format
- All algorithms now run with any built-in or user-defined backend, simulator or QPU.
- TETRIS-ADAPT VQE
- iQCC-ILC
- Quantum signal processing time-evolution
- Higher even-order trotterization for time-evolution
- Histogram class, featuring methods for renormalization, post-selection, aggregation
- Computation of variance of expectation values
- Function to compute RDMs from experimental data / classical shadow
- IBMConnection Class for submission of experiments to IBM Quantum
- qchem_modelling_basics and excited_states notebooks

### Changed

- All notebooks now launchable with Google Collab
- Docker image updated

### Deprecated

- Simulator class deprecated in favor of get_backend function in linq
- backend-specific translate_xxx functions (e.g translate_qiskit, translate_qulacs...) deprecated in favor of translate_circuit in linq


## [0.3.2] - 2022-08-06

### Added
Expand Down
Empty file modified examples/linq/1.the_basics.ipynb
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion tangelo/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

""" Define version number here. It is read in setup.py, and bumped automatically
when using the new release Github action. """
__version__ = "0.3.2"
__version__ = "0.3.3"
1 change: 0 additions & 1 deletion tangelo/algorithms/variational/sa_vqe_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ def get_resources(self):
self.reference_circuits[0] + self.ansatz.circuit)
resources["circuit_width"] = circuit.width
resources["circuit_depth"] = circuit.depth()
# For now, only CNOTs supported.
resources["circuit_2qubit_gates"] = circuit.counts_n_qubit.get(2, 0)
resources["circuit_var_gates"] = len(self.ansatz.circuit._variational_gates)
resources["vqe_variational_parameters"] = len(self.initial_var_params)
Expand Down
1 change: 0 additions & 1 deletion tangelo/algorithms/variational/vqe_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ def get_resources(self):
circuit += self.deflation_circuits[0]
resources["circuit_width"] = circuit.width
resources["circuit_depth"] = circuit.depth()
# For now, only CNOTs supported.
resources["circuit_2qubit_gates"] = circuit.counts_n_qubit.get(2, 0)
resources["circuit_var_gates"] = len(self.ansatz.circuit._variational_gates)
resources["vqe_variational_parameters"] = len(self.initial_var_params)
Expand Down
Empty file modified tangelo/toolboxes/ansatz_generator/ilc.py
100755 → 100644
Empty file.
Empty file modified tangelo/toolboxes/ansatz_generator/qcc.py
100755 → 100644
Empty file.

0 comments on commit 3f141ed

Please sign in to comment.