From 3d794a6563f1d32c5eb8cc7f668dc856857a0e81 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 31 Dec 2016 01:19:03 +0000
Subject: qcircuit (30dec16)

git-svn-id: svn://tug.org/texlive/trunk@42816 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/qcircuit/qcircuit.sty | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/qcircuit/qcircuit.sty')

diff --git a/Master/texmf-dist/tex/latex/qcircuit/qcircuit.sty b/Master/texmf-dist/tex/latex/qcircuit/qcircuit.sty
index 190683cc9f6..89959ecc649 100644
--- a/Master/texmf-dist/tex/latex/qcircuit/qcircuit.sty
+++ b/Master/texmf-dist/tex/latex/qcircuit/qcircuit.sty
@@ -1,4 +1,4 @@
-%    qcircuit version 2.5.2
+%    qcircuit version 2.5.3
 %    Contributors: Steve Flammia, Bryan Eastin, Travis Scholten
 %    This program is free software; you can redistribute it and/or modify
 %    it under the terms of the GNU General Public License as published by
@@ -19,7 +19,7 @@
 % Thanks also to Dave Clader, Andrew Childs, Rafael Possignolo, Tyson Williams,
 % Sergio Boixo, Cris Moore, Jonas Anderson, and Stephan Mertens for helping us test 
 % and/or develop the new version.
-\ProvidesPackage{qcircuit}[2016/04/06]
+\ProvidesPackage{qcircuit}[2016/12/29]
 \RequirePackage{xy}
 
 \DeclareOption{braket}{
@@ -28,11 +28,11 @@
     }
 
 \DeclareOption{qm}{
-    \newcommand{\ip}[2]{\ensuremath{\left\langle{#1}\right\vert{#2}\rangle}}
-    \newcommand{\melem}[3]{\ensuremath{\left\langle{#1}\right\vert{#2}\vert{#3}\rangle}}
+    \newcommand{\ip}[2]{\ensuremath{\left\langle{#1}\middle\vert{#2}\right\rangle}}
+    \newcommand{\melem}[3]{\ensuremath{\left\langle{#1}\middle\vert{#2}\middle\vert{#3}\right\rangle}}
     \newcommand{\expval}[1]{\ensuremath{\left\langle #1 \right\rangle}}
-    \newcommand{\op}[2]{\ensuremath{\vert{#1}\rangle\langle{#2}\vert}}
-    }
+    \newcommand{\op}[2]{\ensuremath{\left\vert{#1}\middle\rangle\middle\langle{#2}\right\vert}}
+}
 
 \ProcessOptions\relax
 
-- 
cgit v1.2.3

