Skip to content

Commit

Permalink
First iteration of procedural macro version of program
Browse files Browse the repository at this point in the history
  • Loading branch information
Renmusxd committed Jun 3, 2022
1 parent 5b44c7b commit 1ab3a11
Show file tree
Hide file tree
Showing 39 changed files with 716 additions and 860 deletions.
25 changes: 2 additions & 23 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
[package]
name = "qip"
version = "1.0.0"
authors = ["Sumner Hearth <sumnernh@gmail.com>"]
description = "A library for efficient quantum computing simulations."
repository = "https://github.com/Renmusxd/RustQIP"
license = "MIT"
edition = "2021"
[workspace]
members = ["qip", "qip-program"]

[lib]
name = "qip"

[features]
default = ["parallel", "optimization"]
parallel = ["rayon"]
optimization = []

[dependencies]
num-rational = "^0.4"
num-traits = "^0.2"
num-complex = "^0.4"
rayon = { version = "^1.5", optional = true }
rand = "^0.8"
smallvec = "^1.8"
31 changes: 0 additions & 31 deletions examples/simple.rs

This file was deleted.

16 changes: 16 additions & 0 deletions qip-program/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[package]
name = "qip-program"
version = "1.0.0"
authors = ["Sumner Hearth <sumnernh@gmail.com>"]
description = "A procedural macro for QIP"
repository = "https://github.com/Renmusxd/RustQIP"
license = "MIT"
edition = "2021"

[lib]
name = "qip_program"
proc-macro = true

[dependencies]
syn = { version = ">=1.0", features = ["full", "extra-traits"] }
quote = ">=1.0"
Loading

0 comments on commit 1ab3a11

Please sign in to comment.