Skip to content

Commit 7c91ac9

Browse files
Release 0.1a2
2 parents bb7896b + 5dfe400 commit 7c91ac9

File tree

7 files changed

+423
-567
lines changed

7 files changed

+423
-567
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ FermiLib - An open source software for analyzing quantum simulation algorithms
1414

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

17-
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.
17+
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.
1818

1919
Getting started
2020
---------------

docs/examples.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,13 @@ Below, we load MolecularData from a saved calculation of LiH. We then obtain an
276276
active_space_stop = 3
277277
278278
# Generate and populate instance of MolecularData.
279-
molecule = MolecularData(geometry, basis, multiplicity)
279+
molecule = MolecularData(geometry, basis, multiplicity, description=\"1.45\")
280280
molecule.load()
281281
282282
# Get the Hamiltonian in an active space.
283283
molecular_hamiltonian = molecule.get_molecular_hamiltonian(
284-
active_space_start, active_space_stop)
284+
occupied_indices=range(active_space_start),
285+
active_indices=range(active_space_start, active_space_stop))
285286
286287
# Map operator to fermions and qubits.
287288
fermion_hamiltonian = get_fermion_operator(molecular_hamiltonian)
@@ -347,7 +348,7 @@ Here we load :math:`H_2` from a precomputed molecule file found in the test data
347348
348349
# Load the molecule.
349350
import os
350-
filename = os.path.join(DATA_DIRECTORY, 'H2_sto-3g_singlet')
351+
filename = os.path.join(DATA_DIRECTORY, 'H2_sto-3g_singlet_0.7414')
351352
molecule = MolecularData(filename=filename)
352353
353354
# Use a Jordan-Wigner encoding, and compress to remove 0 imaginary components

0 commit comments

Comments
 (0)