Skip to content

Commit

Permalink
update: update texts in the readme and a test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Nozidoali committed Nov 25, 2024
1 parent dac828c commit e6f67ca
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 24 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"

[project]
name="quantum-xyz"
name="xyz"
version="0.1.0"
dependencies = [
"llist==0.7.1",
Expand Down
10 changes: 0 additions & 10 deletions tests/baseline/baselines.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
#!/usr/bin/env python
# -*- encoding=utf8 -*-

"""
Author: Hanyu Wang
Created time: 2023-09-08 13:40:10
Last Modified by: Hanyu Wang
Last Modified time: 2023-09-10 14:32:59
"""

# pylint: skip-file

from math import ceil
Expand Down
14 changes: 3 additions & 11 deletions tests/test_algorithms/test_prepare_state.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
#!/usr/bin/env python
# -*- encoding=utf8 -*-

"""
Author: Hanyu Wang
Created time: 2024-04-23 10:05:47
Last Modified by: Hanyu Wang
Last Modified time: 2024-04-23 10:25:33
"""

import numpy as np
import xyz
import pytest


# skip
@pytest.mark.skip(reason="Takes too long")
def test_qsp_1():
state = "0.41*|001000> + 0.41*|010001> + 0.41*|010100> + 0.41*|011100> + 0.41*|101111> + 0.41*|111100>"
target_state = xyz.quantize_state(state)
Expand Down
4 changes: 2 additions & 2 deletions xyz/circuit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ quantum circuit implementation
Highlights: our implementation of quantum circuits leverages the following features:
- Sparse matrix representation (see `qstate.py`)
- Fast simulation of quantum circuits (see `gate/<gate>.py`)
- On-the-fly gate decomposition (see `gate/decompose.py`)
- On-the-fly redundant gate removal (see `_optimization.py`)
- On-the-fly gate decomposition (see `qgate.py`)
- On-the-fly redundant gate removal (see `qcircuit.py`)

0 comments on commit e6f67ca

Please sign in to comment.