Skip to content

Commit

Permalink
Limit observables
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed May 22, 2024
1 parent a123e07 commit f811f1d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
16 changes: 8 additions & 8 deletions pennylane_qrack/QrackDeviceConfig.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,16 @@ QFT = { properties = [ "invertible" ] }
PauliX = {}
PauliY = {}
PauliZ = {}
Hadamard = {}
Hermitian = {}
Identity = {}
Projector = {}
SparseHamiltonian = {}
Hamiltonian = {}
Sum = {}
SProd = {}
Prod = {}
Exp = {}
# Hadamard = {}
# Hermitian = {}
# Projector = {}
# SparseHamiltonian = {}
# Hamiltonian = {}
# Sum = {}
# SProd = {}
# Exp = {}

[measurement_processes]

Expand Down
18 changes: 9 additions & 9 deletions pennylane_qrack/qrack_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ class QrackDevice(QubitDevice):
"PauliY": Pauli.PauliY,
"PauliZ": Pauli.PauliZ,
"Identity": Pauli.PauliI,
"Hadamard": None,
"Hermitian": None,
"Sum": None,
"Prod": None,
"SProd": None,
"Exp": None,
"Projector": None,
"Hamiltonian": None,
"SparseHamiltonian": None
"Prod": None
# "Hadamard": None,
# "Hermitian": None,
# "Sum": None,
# "SProd": None,
# "Exp": None,
# "Projector": None,
# "Hamiltonian": None,
# "SparseHamiltonian": None
}

observables = _observable_map.keys()
Expand Down

0 comments on commit f811f1d

Please sign in to comment.