Skip to content

Commit

Permalink
update README and add url to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Jul 31, 2024
1 parent 4915087 commit f28b4fd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

Simulate [Qiskit](https://www.ibm.com/quantum/qiskit) circuits using [quimb](https://quimb.readthedocs.io/en/latest/).

## Installation

```bash
pip install qiskit-quimb
```

## Usage

The `qiskit_quimb` module exposes two functions:

- `quimb_circuit`: Converts a Qiskit circuit to a quimb circuit. This is probably the function you want to use.
- `quimb_gates`: Converts a Qiskit circuit to a list of quimb gates, which is a bit more flexible.

## Example code

```python
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ dependencies = ["qiskit", "quimb"]
[project.optional-dependencies]
dev = ["coverage", "mypy", "pytest", "qiskit[visualization]", "ruff"]

[project.urls]
Homepage = "https://github.com/qiskit-community/qiskit-quimb"

[tool.pytest.ini_options]
testpaths = ["tests"]

Expand Down

0 comments on commit f28b4fd

Please sign in to comment.