From 4c5cb3311f661f103f9b05c85d0536c203ec7946 Mon Sep 17 00:00:00 2001 From: Eduard Valeyev Date: Mon, 27 Nov 2023 07:30:35 -0500 Subject: [PATCH] =?UTF-8?q?=CF=83pV=CF=83p=5FDescr=20is=20"hashed"=20corre?= =?UTF-8?q?ctly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bin/libint/oper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/libint/oper.h b/src/bin/libint/oper.h index 7e017c897..83641fcff 100644 --- a/src/bin/libint/oper.h +++ b/src/bin/libint/oper.h @@ -267,7 +267,7 @@ struct σpVσp_Descr : public Contractable<σpVσp_Descr> { σpVσp_Descr(int pauli_index) : pauli_index_(pauli_index) { assert(pauli_index <= 3); } static const unsigned int max_key = 4; - unsigned int key() const { return 0; } + unsigned int key() const { return pauli_index(); } std::string description() const { return "σpVσp"; } std::string label() const { return "σpVσp"; } int psymm(int i, int j) const { abort(); }