Skip to content

Commit

Permalink
Release 0.1a2
Browse files Browse the repository at this point in the history
  • Loading branch information
damiansteiger authored Jun 24, 2017
2 parents bb7896b + 5dfe400 commit 7c91ac9
Show file tree
Hide file tree
Showing 7 changed files with 423 additions and 567 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ FermiLib - An open source software for analyzing quantum simulation algorithms

FermiLib is an open source effort for analyzing quantum simulation algorithms.

The first version (v0.1a0) is an alpha release which features data structures and tools for obtaining and manipulating representations of fermionic Hamiltonians. FermiLib is designed as a library on top of `ProjectQ <https://github.com/ProjectQ-Framework/ProjectQ>`__ and leverages ProjectQ to compile, emulate and simulate quantum circuits. There are also `plugins <http://projectq.ch/code-and-docs/#Fermilib>`__ available for FermiLib.
The current version (v0.1a2) is an alpha release which features data structures and tools for obtaining and manipulating representations of fermionic Hamiltonians. FermiLib is designed as a library on top of `ProjectQ <https://github.com/ProjectQ-Framework/ProjectQ>`__ and leverages ProjectQ to compile, emulate and simulate quantum circuits. There are also `plugins <http://projectq.ch/code-and-docs/#Fermilib>`__ available for FermiLib.

Getting started
---------------
Expand Down
7 changes: 4 additions & 3 deletions docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,13 @@ Below, we load MolecularData from a saved calculation of LiH. We then obtain an
active_space_stop = 3
# Generate and populate instance of MolecularData.
molecule = MolecularData(geometry, basis, multiplicity)
molecule = MolecularData(geometry, basis, multiplicity, description=\"1.45\")
molecule.load()
# Get the Hamiltonian in an active space.
molecular_hamiltonian = molecule.get_molecular_hamiltonian(
active_space_start, active_space_stop)
occupied_indices=range(active_space_start),
active_indices=range(active_space_start, active_space_stop))
# Map operator to fermions and qubits.
fermion_hamiltonian = get_fermion_operator(molecular_hamiltonian)
Expand Down Expand Up @@ -347,7 +348,7 @@ Here we load :math:`H_2` from a precomputed molecule file found in the test data
# Load the molecule.
import os
filename = os.path.join(DATA_DIRECTORY, 'H2_sto-3g_singlet')
filename = os.path.join(DATA_DIRECTORY, 'H2_sto-3g_singlet_0.7414')
molecule = MolecularData(filename=filename)
# Use a Jordan-Wigner encoding, and compress to remove 0 imaginary components
Expand Down
Loading

0 comments on commit 7c91ac9

Please sign in to comment.